diff options
author | Sanidhya Kashyap <sanidhya.gatech@gmail.com> | 2015-03-21 12:57:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-07-09 13:35:31 -0700 |
commit | ce657611baf902f14ae559ce4e0787ead6712067 (patch) | |
tree | 43f2a918a0c4d8f7b9c3cc2418953ed0f34a0c70 /fs/9p | |
parent | d7b04097c250e6322ba73d3b03337074afeeb314 (diff) | |
download | linux-ce657611baf902f14ae559ce4e0787ead6712067.tar.gz linux-ce657611baf902f14ae559ce4e0787ead6712067.tar.bz2 linux-ce657611baf902f14ae559ce4e0787ead6712067.zip |
hpfs: kstrdup() out of memory handling
There is a possibility of nothing being allocated to the new_opts in
case of memory pressure, therefore return ENOMEM for such case.
Signed-off-by: Sanidhya Kashyap <sanidhya.gatech@gmail.com>
Signed-off-by: Mikulas Patocka <mikulas@twibright.com>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions