Deleted Added
full compact
libzfs_dataset.c (209962) libzfs_dataset.c (210398)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 1251 unchanged lines hidden (view full) ---

1260 /* We don't support those properties on FreeBSD. */
1261 switch (prop) {
1262 case ZFS_PROP_DEVICES:
1263 case ZFS_PROP_SHAREISCSI:
1264 case ZFS_PROP_ISCSIOPTIONS:
1265 case ZFS_PROP_XATTR:
1266 case ZFS_PROP_VSCAN:
1267 case ZFS_PROP_NBMAND:
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 1251 unchanged lines hidden (view full) ---

1260 /* We don't support those properties on FreeBSD. */
1261 switch (prop) {
1262 case ZFS_PROP_DEVICES:
1263 case ZFS_PROP_SHAREISCSI:
1264 case ZFS_PROP_ISCSIOPTIONS:
1265 case ZFS_PROP_XATTR:
1266 case ZFS_PROP_VSCAN:
1267 case ZFS_PROP_NBMAND:
1268 case ZFS_PROP_SHARESMB:
1269 (void) snprintf(errbuf, sizeof (errbuf),
1270 "property '%s' not supported on FreeBSD", propname);
1271 ret = zfs_error(hdl, EZFS_PERM, errbuf);
1272 goto error;
1273 }
1274
1275 if ((cl = changelist_gather(zhp, prop, 0, 0)) == NULL)
1276 goto error;

--- 2941 unchanged lines hidden ---
1268 (void) snprintf(errbuf, sizeof (errbuf),
1269 "property '%s' not supported on FreeBSD", propname);
1270 ret = zfs_error(hdl, EZFS_PERM, errbuf);
1271 goto error;
1272 }
1273
1274 if ((cl = changelist_gather(zhp, prop, 0, 0)) == NULL)
1275 goto error;

--- 2941 unchanged lines hidden ---