diff options
author | Richard Yao <[email protected]> | 2014-06-23 14:12:53 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-09-30 10:46:58 -0700 |
commit | 2f3ec9006146844af6763d1fa4e823fd9047fd54 (patch) | |
tree | a522e90e82a26bce9d15565c7acff143ba26e778 /man/man8/zpool.8 | |
parent | aa0ac7caa438bf3981456c559d4224be104ccc7d (diff) |
Add add_prop_list_default helper
Adding to a property list only if there is no existing value is used
twice. Once by zpool create -R and again by zpool import -R. Now that
zpool create -t and zpool import -t also need it, lets refactor it into
a helper function to make the code more readable.
Signed-off-by: Richard Yao <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #2417
Diffstat (limited to 'man/man8/zpool.8')
0 files changed, 0 insertions, 0 deletions