X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Ffile.c;h=9de20265a78c5daec5f9edee541e553a18fe320f;hb=2346e1e345bbb141271d0e54d6d906118db8864d;hp=4a78f981557a4b012919458993506f61fd5187a4;hpb=7ecba6f2f3f6e862287e07908ba583199c7772a9;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/file.c b/fs/file.c index 4a78f981557a..9de20265a78c 100644 --- a/fs/file.c +++ b/fs/file.c @@ -34,7 +34,7 @@ static void *alloc_fdmem(size_t size) * vmalloc() if the allocation size will be considered "large" by the VM. */ if (size <= (PAGE_SIZE << PAGE_ALLOC_COSTLY_ORDER)) { - void *data = kmalloc(size, GFP_KERNEL|__GFP_NOWARN); + void *data = kmalloc(size, GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY); if (data != NULL) return data; }