diff options
Diffstat (limited to 'sys/contrib')
-rw-r--r-- | sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c b/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c index 27e00c3..2937ab0 100644 --- a/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c +++ b/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c @@ -598,7 +598,10 @@ zfs_mount(vfs_t *vfsp, kthread_t *td) if (vfs_getopt(vfsp->mnt_optnew, "from", (void **)&from, NULL)) return (EINVAL); - return (zfs_domount(vfsp, from, td)); + DROP_GIANT(); + error = zfs_domount(vfsp, from, td); + PICKUP_GIANT(); + return (error); } static int |