Author: avg Date: Mon Oct 2 11:07:48 2017 New Revision: 324194 URL: https://svnweb.freebsd.org/changeset/base/324194
Log: fix incorrect use of getzfsvfs_impl in r324163, ZFS Channel Programs getzfsvfs_impl() returns a referenced, not busied, filesystem, so the matching call is vfs_rel, not vfs_unbusy. MFC after: 4 weeks X-MFC with: r324163 Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_get.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_get.c ============================================================================== --- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_get.c Mon Oct 2 09:45:17 2017 (r324193) +++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zcp_get.c Mon Oct 2 11:07:48 2017 (r324194) @@ -288,7 +288,7 @@ get_temporary_prop(dsl_dataset_t *ds, zfs_prop_t zfs_p #ifdef illumos VFS_RELE(vfsp); #else - vfs_unbusy(vfsp); + vfs_rel(vfsp); #endif return (ENOENT); } @@ -296,7 +296,7 @@ get_temporary_prop(dsl_dataset_t *ds, zfs_prop_t zfs_p #ifdef illumos VFS_RELE(vfsp); #else - vfs_unbusy(vfsp); + vfs_rel(vfsp); #endif if (tmp != *val) { (void) strcpy(setpoint, "temporary"); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"