Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2010 16:37:38 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r206800 - stable/8/cddl/contrib/opensolaris/lib/libzfs/common
Message-ID:  <201004181637.o3IGbc0T033311@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Sun Apr 18 16:37:38 2010
New Revision: 206800
URL: http://svn.freebsd.org/changeset/base/206800

Log:
  MFC r197867:
  
  Properly mark ZFS properties which are not changeable under FreeBSD.
  
  Reviewed by:	pjd

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

Modified: stable/8/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c
==============================================================================
--- stable/8/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c	Sun Apr 18 16:36:38 2010	(r206799)
+++ stable/8/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c	Sun Apr 18 16:37:38 2010	(r206800)
@@ -1790,9 +1790,14 @@ zfs_prop_set(zfs_handle_t *zhp, const ch
 
 	/* We don't support those properties on FreeBSD. */
 	switch (prop) {
-	case ZFS_PROP_SHAREISCSI:
 	case ZFS_PROP_DEVICES:
+	case ZFS_PROP_ZONED:
+	case ZFS_PROP_SHAREISCSI:
 	case ZFS_PROP_ISCSIOPTIONS:
+	case ZFS_PROP_XATTR:
+	case ZFS_PROP_VSCAN:
+	case ZFS_PROP_NBMAND:
+	case ZFS_PROP_SHARESMB:
 		(void) snprintf(errbuf, sizeof (errbuf),
 		    "property '%s' not supported on FreeBSD", propname);
 		ret = zfs_error(hdl, EZFS_PERM, errbuf);



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