Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2016 07:17:53 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r300483 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201605230717.u4N7HrUh022912@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Mon May 23 07:17:53 2016
New Revision: 300483
URL: https://svnweb.freebsd.org/changeset/base/300483

Log:
  MFC r300024: zfs_ioc_rename: fix a reversed condition
  
  PR:		209093

Modified:
  stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c	Mon May 23 07:15:23 2016	(r300482)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c	Mon May 23 07:17:53 2016	(r300483)
@@ -3804,7 +3804,7 @@ zfs_ioc_rename(zfs_cmd_t *zc)
 #ifdef illumos
 		if (zc->zc_objset_type == DMU_OST_ZFS) {
 #else
-		if (zc->zc_objset_type == DMU_OST_ZFS && allow_mounted) {
+		if (zc->zc_objset_type == DMU_OST_ZFS && !allow_mounted) {
 #endif
 			error = dmu_objset_find(zc->zc_name,
 			    recursive_unmount, at + 1,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605230717.u4N7HrUh022912>