diff options
| author | Sasha Levin <[email protected]> | 2012-07-30 14:39:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-07-30 17:25:11 -0700 |
| commit | 779302e67835fe9a6b74327e54969ba59cb3478a (patch) | |
| tree | 1e808fa81616ddf170879652f86e3d755694af81 /tools/perf/scripts/python | |
| parent | 32b4560b04af6e4fee241ea6de6db780eaf354f2 (diff) | |
fs/xattr.c:getxattr(): improve handling of allocation failures
This allocation can be as large as 64k.
- Add __GFP_NOWARN so the falied kmalloc() is silent
- Fall back to vmalloc() if the kmalloc() failed
Signed-off-by: Sasha Levin <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions