diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2012-04-05 14:25:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-05 15:25:50 -0700 |
commit | 0d08d7b7e13b5060181b11ecdde82d8fda322123 (patch) | |
tree | 21f938ad3adafb2902358a5a234169229b3bcc16 /fs/fifo.c | |
parent | 703bf2d122c95412a30f72658c53ad6292867b0b (diff) |
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 <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 'fs/fifo.c')
0 files changed, 0 insertions, 0 deletions