summaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorSanidhya Kashyap <sanidhya.gatech@gmail.com>2015-03-21 12:57:50 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-07-09 13:35:31 -0700
commitce657611baf902f14ae559ce4e0787ead6712067 (patch)
tree43f2a918a0c4d8f7b9c3cc2418953ed0f34a0c70 /fs/9p
parentd7b04097c250e6322ba73d3b03337074afeeb314 (diff)
downloadlinux-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