libzfs_dataset.c (230438) | libzfs_dataset.c (230514) |
---|---|
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 --- 4199 unchanged lines hidden (view full) --- 4208 goto out; 4209 } 4210 4211 zc.zc_nvlist_dst_size = nvsz; 4212 zc.zc_nvlist_dst = (uintptr_t)nvbuf; 4213 4214 (void) strlcpy(zc.zc_name, zhp->zfs_name, ZFS_MAXNAMELEN); 4215 | 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 --- 4199 unchanged lines hidden (view full) --- 4208 goto out; 4209 } 4210 4211 zc.zc_nvlist_dst_size = nvsz; 4212 zc.zc_nvlist_dst = (uintptr_t)nvbuf; 4213 4214 (void) strlcpy(zc.zc_name, zhp->zfs_name, ZFS_MAXNAMELEN); 4215 |
4216 if (zfs_ioctl(hdl, ZFS_IOC_GET_FSACL, &zc) != 0) { | 4216 if (ioctl(hdl->libzfs_fd, ZFS_IOC_GET_FSACL, &zc) != 0) { |
4217 (void) snprintf(errbuf, sizeof (errbuf), 4218 dgettext(TEXT_DOMAIN, "cannot get permissions on '%s'"), 4219 zc.zc_name); 4220 switch (errno) { 4221 case ENOMEM: 4222 free(nvbuf); 4223 nvsz = zc.zc_nvlist_dst_size; 4224 goto tryagain; --- 232 unchanged lines hidden --- | 4217 (void) snprintf(errbuf, sizeof (errbuf), 4218 dgettext(TEXT_DOMAIN, "cannot get permissions on '%s'"), 4219 zc.zc_name); 4220 switch (errno) { 4221 case ENOMEM: 4222 free(nvbuf); 4223 nvsz = zc.zc_nvlist_dst_size; 4224 goto tryagain; --- 232 unchanged lines hidden --- |