diff options
author | trasz <trasz@FreeBSD.org> | 2009-10-08 19:45:37 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-10-08 19:45:37 +0000 |
commit | 622fdeb890096c52cb7e4201ab4e79373b51d563 (patch) | |
tree | 8a9267640dcc8a322b3220b3e44a8f7d7d40959e /cddl/contrib | |
parent | 8a5074a99c2a4d389b2ef2d7b902a607ee9b9a79 (diff) | |
download | FreeBSD-src-622fdeb890096c52cb7e4201ab4e79373b51d563.zip FreeBSD-src-622fdeb890096c52cb7e4201ab4e79373b51d563.tar.gz |
Properly mark ZFS properties which are not changeable under FreeBSD.
Reviewed by: pjd
Diffstat (limited to 'cddl/contrib')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c index f1cc27b..f3b132f 100644 --- a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c +++ b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c @@ -1790,9 +1790,14 @@ zfs_prop_set(zfs_handle_t *zhp, const char *propname, const char *propval) /* 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); |