X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=fs%2Ffile.c;h=30bfc997cc49f54bec4c83b6db4200d1b99f8117;hp=4c6992d8f3ba1e3056645e805ddcb4c879d82f93;hb=cef37d3ae1c1847b553e22160fe33f2892bd39d4;hpb=f3ae1c75203535f65448517e46c8dd70a56b6c71 diff --git a/fs/file.c b/fs/file.c index 4c6992d8f3ba..30bfc997cc49 100644 --- a/fs/file.c +++ b/fs/file.c @@ -47,7 +47,7 @@ static void *alloc_fdmem(unsigned int 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; }