diff options
author | Andrew Morton <[email protected]> | 2012-04-05 14:25:07 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-04-05 15:25:50 -0700 |
commit | 44c824982fd37a578da23cc90885e9690a6a3f0e (patch) | |
tree | cc4180263258049e5b59fa019f6c686df2ff4caa /net/lapb/lapb_subr.c | |
parent | 0d08d7b7e13b5060181b11ecdde82d8fda322123 (diff) |
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 <[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