]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
jffs2_kill_sb(): deal with failed allocations
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 3 Apr 2018 03:56:44 +0000 (23:56 -0400)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:36:35 +0000 (21:36 -0400)
commit34d5b4283fb6b1843c25967363f739efb918ba4b
tree4c91a22b6582ac8a85367cd32d3f7d15a1715a45
parente494efb033f5446f374daf5cf5788ced1add26c9
jffs2_kill_sb(): deal with failed allocations

[ Upstream commit c66b23c2840446a82c389e4cb1a12eb2a71fa2e4 ]

jffs2_fill_super() might fail to allocate jffs2_sb_info;
jffs2_kill_sb() must survive that.

Cc: stable@kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
fs/jffs2/super.c