]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
orangefs_kill_sb(): deal with allocation failures
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 3 Apr 2018 04:13:17 +0000 (00:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:43:09 +0000 (09:43 +0200)
commit7a372c7c91d67f707eca4c83f0ac3b73694d7d2f
tree914a635d7dd9cc5db9e009edf116bcade74fda32
parenta10ddc761df5c0b5b5cec8df80152d72f3e948b1
orangefs_kill_sb(): deal with allocation failures

commit 659038428cb43a66e3eff71e2c845c9de3611a98 upstream.

orangefs_fill_sb() might've failed to allocate ORANGEFS_SB(s); don't
oops in that case.

Cc: stable@kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/orangefs/super.c