]> granicus.if.org Git - zfs/commit
Allow inherited properties in zfs_check_settable()
authorLOLi <loli10K@users.noreply.github.com>
Fri, 3 Aug 2018 21:56:25 +0000 (23:56 +0200)
committerTony Hutter <hutter2@llnl.gov>
Fri, 6 Jul 2018 09:46:51 +0000 (02:46 -0700)
commitcaafa436eb335349f75fb6a72c06eb21e87ffb9e
tree583c15d12f4d2c62adbeab1bd18323400e676ad2
parentfe8de1c8a653fed150979f7d37be8f189327b7ef
Allow inherited properties in zfs_check_settable()

This change modifies how 'checksum' and 'dedup' properties are verified
in zfs_check_settable() handling the case where they are explicitly
inherited in the dataset hierarchy when receiving a recursive send
stream.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7755
Closes #7576
Closes #7757
module/zfs/zfs_ioctl.c
tests/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_override.ksh