diff options
author | Chunwei Chen <[email protected]> | 2016-07-19 12:02:33 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-07-20 09:05:43 -0700 |
commit | be88e733a634ad0d7f20350e1a17ede51922d3ff (patch) | |
tree | 22c2f148e55d9f9029720ca04a238de92dfa2b3e /lib | |
parent | 26a08b5ca94ffc96add1d2d9dfe7dc78a0945ef2 (diff) |
Fix NULL pointer in zfs_preumount from 1d9b3bd
When zfs_domount fails zsb will be freed, and its caller
mount_nodev/get_sb_nodev will do deactivate_locked_super and calls into
zfs_preumount.
In order to make sure we don't touch any nonexistent stuff, we must make sure
s_fs_info is NULL in the fail path so zfs_preumount can easily check that.
Signed-off-by: Chunwei Chen <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #4867
Issue #4854
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions