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:34:17 +0000 (09:34 +0200)
commitf3ba3eaaee8bc8c07d58d2a6050f9892ba01c306
tree56b2e7f81e75b2298f59c40f5785240d1803964c
parent02d20e670e6ba449ff2d75c3c91771b68543bb71
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