diff options
author | Sanidhya Kashyap <sanidhya.gatech@gmail.com> | 2015-04-16 21:48:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 15:04:09 +0200 |
commit | c8f33d0bec999a4f2b5c3f9380361b88ce6f6ab0 (patch) | |
tree | 7f5ff253261b35a918b9223e21ac9cf5cdc3814c /include | |
parent | fs/affs: use affs_test_opt() (diff) | |
download | linux-c8f33d0bec999a4f2b5c3f9380361b88ce6f6ab0.tar.xz linux-c8f33d0bec999a4f2b5c3f9380361b88ce6f6ab0.zip |
affs: kstrdup() memory handling
There is a possibility of kstrdup() failure upon memory pressure.
Therefore, returning ENOMEM even for new_opts.
[akpm@linux-foundation.org: cleanup]
Signed-off-by: Sanidhya Kashyap <sanidhya.gatech@gmail.com>
Cc: Taesoo kim <taesoo@gatech.edu>
Cc: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions