Message ID | 1393872955-28810-53-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/file.c b/fs/file.c index 2b3570b..d00c463 100644 --- a/fs/file.c +++ b/fs/file.c @@ -48,7 +48,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; }