From: Andrew Morton Date: Thu, 5 Apr 2012 21:25:07 +0000 (-0700) Subject: fs/xattr.c:setxattr(): improve handling of allocation failures X-Git-Tag: v3.4-rc2~15^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44c824982fd37a578da23cc90885e9690a6a3f0e;p=pandora-kernel.git 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 Cc: Dave Jones Cc: David Rientjes Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed