zfs_umount: no need to set MNTK_UNMOUNTF here, dounmount handles that

Reviewed by:	kib
MFC after:	19 days
This commit is contained in:
Andriy Gapon 2012-11-04 14:22:25 +00:00
parent 8d041ea733
commit a16e534dbe

View File

@ -1970,10 +1970,6 @@ zfs_umount(vfs_t *vfsp, int fflag)
zfsvfs->z_ctldir->v_count > 1)
return (EBUSY);
}
} else {
MNT_ILOCK(vfsp);
vfsp->mnt_kern_flag |= MNTK_UNMOUNTF;
MNT_IUNLOCK(vfsp);
}
VERIFY(zfsvfs_teardown(zfsvfs, B_TRUE) == 0);