From: Sanidhya Kashyap Date: Sat, 21 Mar 2015 16:57:50 +0000 (-0400) Subject: hpfs: kstrdup() out of memory handling X-Git-Tag: omap-for-v4.2/fixes-rc2-v2~25^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce657611baf902f14ae559ce4e0787ead6712067;p=pandora-kernel.git 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 Signed-off-by: Mikulas Patocka Cc: stable@vger.kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed