diff options
author | avg <avg@FreeBSD.org> | 2012-11-04 14:22:25 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2012-11-04 14:22:25 +0000 |
commit | 8ba0a4d54b7d64c0dd352d4ddbea9a2b946c7fb9 (patch) | |
tree | 35ded4cba6dcfb1ad44b5517785a5dee4a90eb0d | |
parent | 7dbda87219e7bda1f7b868ed231f51f0e67a385d (diff) | |
download | FreeBSD-src-8ba0a4d54b7d64c0dd352d4ddbea9a2b946c7fb9.zip FreeBSD-src-8ba0a4d54b7d64c0dd352d4ddbea9a2b946c7fb9.tar.gz |
zfs_umount: no need to set MNTK_UNMOUNTF here, dounmount handles that
Reviewed by: kib
MFC after: 19 days
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c index e4a9385..d0633cd 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c @@ -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); |