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)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 16 Apr 2018 03:49:12 +0000 (23:49 -0400)
commit659038428cb43a66e3eff71e2c845c9de3611a98
tree6aa80ece2be05799ad7033085f5cc7936c53a43b
parentc66b23c2840446a82c389e4cb1a12eb2a71fa2e4
orangefs_kill_sb(): deal with allocation failures

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