]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hypfs_kill_super(): deal with failed allocations
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 3 Apr 2018 03:50:31 +0000 (23:50 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:43:09 +0000 (09:43 +0200)
commita10ddc761df5c0b5b5cec8df80152d72f3e948b1
tree85a2efcf8acce0d2c8863131700a0fd5d4d95a65
parentefc16dc36d488d193cfb2456d6ae28695141f2f3
hypfs_kill_super(): deal with failed allocations

commit a24cd490739586a7d2da3549a1844e1d7c4f4fc4 upstream.

hypfs_fill_super() might fail to allocate sbi; hypfs_kill_super()
should not oops on that.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/hypfs/inode.c