aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2012-04-05 14:25:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-04-05 15:25:50 -0700
commit44c824982fd37a578da23cc90885e9690a6a3f0e (patch)
treecc4180263258049e5b59fa019f6c686df2ff4caa /scripts
parentfs/xattr.c:listxattr(): fall back to vmalloc() if kmalloc() failed (diff)
downloadlinux-dev-44c824982fd37a578da23cc90885e9690a6a3f0e.tar.xz
linux-dev-44c824982fd37a578da23cc90885e9690a6a3f0e.zip
fs/xattr.c:setxattr(): improve handling of allocation failures
This allocation can be as large as 64k. - Add __GFP_NOWARN so the a falied kmalloc() is silent - Fall back to vmalloc() if the kmalloc() failed Cc: Dave Chinner <david@fromorbit.com> Cc: Dave Jones <davej@codemonkey.org.uk> Cc: David Rientjes <rientjes@google.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions