commit | ce657611baf902f14ae559ce4e0787ead6712067 | [log] [tgz] |
---|---|---|
author | Sanidhya Kashyap <sanidhya.gatech@gmail.com> | Sat Mar 21 12:57:50 2015 -0400 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jul 09 13:35:31 2015 -0700 |
tree | 43f2a918a0c4d8f7b9c3cc2418953ed0f34a0c70 | |
parent | d7b04097c250e6322ba73d3b03337074afeeb314 [diff] |
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>