diff options
author | Chris Williamson <[email protected]> | 2015-07-06 01:11:09 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-12-29 16:59:26 -0800 |
commit | 23de906c72946da56a54f75238693e186d44d6e2 (patch) | |
tree | 39f690cedd6d2f129f50c09de39834f2b6297c94 /config | |
parent | f5f087eb8800a9b3c7a8d7e5a96c095eff68b097 (diff) |
Illumos 5745 - zfs set allows only one dataset property to be set at a time
5745 zfs set allows only one dataset property to be set at a time
Reviewed by: Christopher Siden <[email protected]>
Reviewed by: George Wilson <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Bayard Bell <[email protected]>
Reviewed by: Richard PALO <[email protected]>
Reviewed by: Steven Hartland <[email protected]>
Approved by: Rich Lowe <[email protected]>
References:
https://www.illumos.org/issues/5745
https://github.com/illumos/illumos-gate/commit/3092556
Porting notes:
- Fix the missing braces around initializer, zfs_cmd_t zc = {"\0"};
- Remove extra format argument in zfs_do_set()
- Declare at the top:
- zfs_prop_t prop;
- nvpair_t *elem;
- nvpair_t *next;
- int i;
- Additionally initialize:
- int added_resv = 0;
- zfs_prop_t prop = 0;
- Assign 0 install of NULL for uint64_t types.
- zc->zc_nvlist_conf = '\0';
- zc->zc_nvlist_src = '\0';
- zc->zc_nvlist_dst = '\0';
Ported-by: kernelOfTruth [email protected]
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #3574
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions