diff options
author | kib <kib@FreeBSD.org> | 2015-06-01 06:56:49 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-06-01 06:56:49 +0000 |
commit | 082794a940f23e7eb4f7f03d5fbe9ba4fdd1fe60 (patch) | |
tree | 61ae6b66e776a443dabecada1e0d83d44fce6f93 /sys/cddl | |
parent | d2338369a2e7ddc373c0334f12f230b8cd584ffe (diff) | |
download | FreeBSD-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.c | 2 |
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); } |