aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2012-04-05 14:25:07 -0700
committerLinus Torvalds <[email protected]>2012-04-05 15:25:50 -0700
commit0d08d7b7e13b5060181b11ecdde82d8fda322123 (patch)
tree21f938ad3adafb2902358a5a234169229b3bcc16 /net/lapb/lapb_subr.c
parent703bf2d122c95412a30f72658c53ad6292867b0b (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 <[email protected]> Cc: Dave Jones <[email protected]> Cc: David Rientjes <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions