diff options
author | Tom Caputi <[email protected]> | 2019-10-24 13:51:01 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-10-24 10:51:01 -0700 |
commit | b4238327b4ec84451fd2944cee7ccff37a065d27 (patch) | |
tree | bf980591b57ab87f778f47225df04faa4331a93f /module/zfs/bqueue.c | |
parent | 28f7427ab163887e901708dec5e7e72a6ac2a269 (diff) |
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 <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Igor Kozhukhov <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #9494
Diffstat (limited to 'module/zfs/bqueue.c')
0 files changed, 0 insertions, 0 deletions