Add missed {}.
Noted by: Morten Rodal <morten@rodal.no> MFC after: 2 weeks
This commit is contained in:
parent
ff87ae350e
commit
63261dad32
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283629
@ -2314,9 +2314,10 @@ zfs_resume_fs(zfsvfs_t *zfsvfs, const char *osname)
|
||||
* Since we couldn't setup the sa framework, try to force
|
||||
* unmount this file system.
|
||||
*/
|
||||
if (vn_vfswlock(zfsvfs->z_vfs->vfs_vnodecovered) == 0)
|
||||
if (vn_vfswlock(zfsvfs->z_vfs->vfs_vnodecovered) == 0) {
|
||||
vfs_ref(zfsvfs->z_vfs);
|
||||
(void) dounmount(zfsvfs->z_vfs, MS_FORCE, curthread);
|
||||
}
|
||||
}
|
||||
return (err);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user