zfs/lib/libzfs
LOLi f0f9786545 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 <faaland1@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #8079
2018-11-06 10:14:56 -08:00
..
.gitignore Add a pkgconfig file 2014-08-28 07:59:43 -07:00
Makefile.am Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
THIRDPARTYLICENSE.openssl Encryption patch follow-up 2017-10-11 16:54:48 -04:00
THIRDPARTYLICENSE.openssl.descrip Encryption patch follow-up 2017-10-11 16:54:48 -04:00
libzfs.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_changelist.c Fix changelist mounted-dataset iteration 2018-10-10 21:13:13 -07:00
libzfs_config.c OpenZFS 4521 - zfstest is trying to execute evil "zfs unmount -a" 2017-02-03 13:24:44 -08:00
libzfs_core.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_crypto.c Added encryption support for zfs recv -o / -x 2018-08-15 09:48:49 -07:00
libzfs_dataset.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
libzfs_diff.c Update build system and packaging 2018-05-29 16:00:33 -07:00
libzfs_import.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
libzfs_iter.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
libzfs_mount.c Fix changelist mounted-dataset iteration 2018-10-10 21:13:13 -07:00
libzfs_pool.c zpool: bogus error for invalid dedupditto value 2018-11-06 10:14:56 -08:00
libzfs_sendrecv.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
libzfs_status.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
libzfs_util.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00