VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: David Howells <dhowells@redhat.com> 2012-12-20 21:52:33 +0000 committer: David Howells <dhowells@redhat.com> 2012-12-20 21:58:25 +0000 commit: 5f4f9f4af185d5e76c966d2d3420a61870c856e7 parent: c4d6d8dbf335c7fa47341654a37c53a512b519bb
Commit Summary:
CacheFiles: Downgrade the requirements passed to the allocator
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/fscache/page.c b/fs/fscache/page.c
index d7c663cfc923..248a12e22532 100644
--- a/fs/fscache/page.c
+++ b/fs/fscache/page.c
@@ -759,7 +759,7 @@ int __fscache_write_page(struct fscache_cookie *cookie,
 
 	fscache_stat(&fscache_n_stores);
 
-	op = kzalloc(sizeof(*op), GFP_NOIO);
+	op = kzalloc(sizeof(*op), GFP_NOIO | __GFP_NOMEMALLOC | __GFP_NORETRY);
 	if (!op)
 		goto nomem;