summaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
authorSasha Levin <levinsasha928@gmail.com>2012-07-30 14:39:13 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-30 17:25:11 -0700
commit779302e67835fe9a6b74327e54969ba59cb3478a (patch)
tree1e808fa81616ddf170879652f86e3d755694af81 /fs/open.c
parent32b4560b04af6e4fee241ea6de6db780eaf354f2 (diff)
downloadlinux-stable-779302e67835fe9a6b74327e54969ba59cb3478a.tar.gz
linux-stable-779302e67835fe9a6b74327e54969ba59cb3478a.tar.bz2
linux-stable-779302e67835fe9a6b74327e54969ba59cb3478a.zip
fs/xattr.c:getxattr(): improve handling of allocation failures
This allocation can be as large as 64k. - Add __GFP_NOWARN so the falied kmalloc() is silent - Fall back to vmalloc() if the kmalloc() failed Signed-off-by: Sasha Levin <levinsasha928@gmail.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 'fs/open.c')
0 files changed, 0 insertions, 0 deletions