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)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 16 Apr 2018 03:49:05 +0000 (23:49 -0400)
commitc66b23c2840446a82c389e4cb1a12eb2a71fa2e4
tree4d432cec255e8e7eef62f1eda55f8e997e29d598
parenta24cd490739586a7d2da3549a1844e1d7c4f4fc4
jffs2_kill_sb(): deal with failed allocations

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>
fs/jffs2/super.c