diff options
author | LOLi <[email protected]> | 2018-11-06 19:14:56 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-11-06 10:14:56 -0800 |
commit | f0f978654581cea4cc042e7f185e1843d727acdb (patch) | |
tree | 8c17e7e245f29e153ca31f90114288472c109b1a /lib/libzfs/libzfs_iter.c | |
parent | 09b85f2dedfae2f15fed3140ffb3246bef36da97 (diff) |
zpool: bogus error for invalid dedupditto value
When provided with an invalid 'dedupditto' value zpool prints
a misleading error message:
$ sudo zpool set dedupditto=99 pp
cannot set property for 'pp': property 'dedupditto'(14) not defined
Fix this by printing a meaningful error description for unsupported
'dedupditto' values.
Reviewed-by: Olaf Faaland <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #8079
Diffstat (limited to 'lib/libzfs/libzfs_iter.c')
0 files changed, 0 insertions, 0 deletions