summaryrefslogtreecommitdiffstats
path: root/sys/cddl
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-06-01 06:56:49 +0000
committerkib <kib@FreeBSD.org>2015-06-01 06:56:49 +0000
commit082794a940f23e7eb4f7f03d5fbe9ba4fdd1fe60 (patch)
tree61ae6b66e776a443dabecada1e0d83d44fce6f93 /sys/cddl
parentd2338369a2e7ddc373c0334f12f230b8cd584ffe (diff)
downloadFreeBSD-src-082794a940f23e7eb4f7f03d5fbe9ba4fdd1fe60.zip
FreeBSD-src-082794a940f23e7eb4f7f03d5fbe9ba4fdd1fe60.tar.gz
MFC r283515:
Remove excess Giant acquisition around the dounmount() call.
Diffstat (limited to 'sys/cddl')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
index 18dbcda..a407b81 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
@@ -3481,9 +3481,7 @@ zfs_unmount_snap(const char *snapname)
#ifdef illumos
(void) dounmount(vfsp, MS_FORCE, kcred);
#else
- mtx_lock(&Giant); /* dounmount() */
(void) dounmount(vfsp, MS_FORCE, curthread);
- mtx_unlock(&Giant); /* dounmount() */
#endif
return (0);
}
OpenPOWER on IntegriCloud