Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2017 15:19:34 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r321522 - stable/11/cddl/contrib/opensolaris/lib/libzfs/common
Message-ID:  <201707261519.v6QFJY0F038803@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Jul 26 15:19:34 2017
New Revision: 321522
URL: https://svnweb.freebsd.org/changeset/base/321522

Log:
  MFC r309096 (by avg): MFV r308989:
  6428 set canmount=off on unmounted filesystem tries to unmount children
  
  This is a cosmetic and bookkeeping change as the actual change is
  already in FreeBSD.
  See r297521, r304520, r308985.

Modified:
  stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c
==============================================================================
--- stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c	Wed Jul 26 15:15:20 2017	(r321521)
+++ stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c	Wed Jul 26 15:19:34 2017	(r321522)
@@ -1620,7 +1620,7 @@ zfs_prop_set_list(zfs_handle_t *zhp, nvlist_t *props)
 		 */
 		if (prop != ZFS_PROP_CANMOUNT ||
 		    (fnvpair_value_uint64(elem) == ZFS_CANMOUNT_OFF &&
-		     zfs_is_mounted(zhp, NULL))) {
+		    zfs_is_mounted(zhp, NULL))) {
 			cls[cl_idx] = changelist_gather(zhp, prop, 0, 0);
 			if (cls[cl_idx] == NULL)
 				goto error;



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