mirror_zfs/lib
Tom Caputi b4238327b4 Fix incremental recursive encrypted receive
Currently, incremental recursive encrypted receives fail to work
for any snapshot after the first. The reason for this is because
the check in zfs_setup_cmdline_props() did not properly realize
that when the user attempts to use '-x encryption' in this
situation, they are not really overriding the existing encryption
property and instead are attempting to prevent it from changing.
This resulted in an error message stating: "encryption property
'encryption' cannot be set or excluded for raw or incremental
streams".

This problem is fixed by updating the logic to expect this use
case.

Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #9494
2019-10-24 10:51:01 -07:00
..
libavl OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libefi OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libicp OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libnvpair Use correct format string when printing int8 2019-10-20 20:37:30 -07:00
libshare Modify sharenfs=on default behavior 2019-10-13 19:13:26 -07:00
libspl Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
libtpool OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libunicode OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libuutil OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libzfs Fix incremental recursive encrypted receive 2019-10-24 10:51:01 -07:00
libzfs_core OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libzpool OpenZFS restructuring - ARC memory pressure 2019-10-18 13:23:19 -04:00
libzutil Implement ZPOOL_IMPORT_UDEV_TIMEOUT_MS 2019-10-11 09:52:48 -07:00
Makefile.am Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00