Deleted Added
full compact
libzfs_dataset.c (240870) libzfs_dataset.c (241655)
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

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

1441{
1442 zfs_cmd_t zc = { 0 };
1443 int ret = -1;
1444 prop_changelist_t *cl = NULL;
1445 char errbuf[1024];
1446 libzfs_handle_t *hdl = zhp->zfs_hdl;
1447 nvlist_t *nvl = NULL, *realprops;
1448 zfs_prop_t prop;
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

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

1441{
1442 zfs_cmd_t zc = { 0 };
1443 int ret = -1;
1444 prop_changelist_t *cl = NULL;
1445 char errbuf[1024];
1446 libzfs_handle_t *hdl = zhp->zfs_hdl;
1447 nvlist_t *nvl = NULL, *realprops;
1448 zfs_prop_t prop;
1449 boolean_t do_prefix;
1449 boolean_t do_prefix = B_TRUE;
1450 uint64_t idx;
1451 int added_resv;
1452
1453 (void) snprintf(errbuf, sizeof (errbuf),
1454 dgettext(TEXT_DOMAIN, "cannot set property for '%s'"),
1455 zhp->zfs_name);
1456
1457 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0 ||

--- 3054 unchanged lines hidden ---
1450 uint64_t idx;
1451 int added_resv;
1452
1453 (void) snprintf(errbuf, sizeof (errbuf),
1454 dgettext(TEXT_DOMAIN, "cannot set property for '%s'"),
1455 zhp->zfs_name);
1456
1457 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0 ||

--- 3054 unchanged lines hidden ---