* inputs: * zc_name name of "to" snapshot * zc_value name of "from" snapshot * zc_cookie file descriptor to write diff data on * * outputs: * dmu_diff_record_t's to the file descriptor */
| 6052 | * dmu_diff_record_t's to the file descriptor |
| 6053 | */ |
| 6054 | static int |
| 6055 | zfs_ioc_diff(zfs_cmd_t *zc) |
| 6056 | { |
| 6057 | zfs_file_t *fp; |
| 6058 | offset_t off; |
| 6059 | int error; |
| 6060 | |
| 6061 | if ((error = zfs_file_get(zc->zc_cookie, &fp))) |
| 6062 | return (error); |
| 6063 | |
| 6064 | off = zfs_file_off(fp); |
| 6065 | error = dmu_diff(zc->zc_name, zc->zc_value, fp, &off); |
| 6066 | |
| 6067 | zfs_file_put(zc->zc_cookie); |
| 6068 | |
| 6069 | return (error); |
| 6070 | } |
| 6071 | |
| 6072 | static int |
| 6073 | zfs_ioc_smb_acl(zfs_cmd_t *zc) |
nothing calls this directly
no test coverage detected