From: Andrew Morton Date: Thu, 5 Apr 2012 21:25:07 +0000 (-0700) Subject: fs/xattr.c:listxattr(): fall back to vmalloc() if kmalloc() failed X-Git-Tag: v3.4-rc2~15^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d08d7b7e13b5060181b11ecdde82d8fda322123;p=pandora-kernel.git fs/xattr.c:listxattr(): fall back to vmalloc() if kmalloc() failed This allocation can be as large as 64k. As David points out, "falling back to vmalloc here is much better solution than failing to retreive the attribute - it will work no matter how fragmented memory gets. That means we don't get incomplete backups occurring after days or months of uptime and successful backups". 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