diff options
author | Tom Caputi <[email protected]> | 2019-09-16 13:07:33 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-09-16 10:07:33 -0700 |
commit | 637f0c6019a67b7cc3f548ec254c5c55e2d1ef1e (patch) | |
tree | fb753ddc25aaa9cef382c1628fe92a697e0d8d1a /.gitignore | |
parent | 2a0d41889e1c7c430e708cea76e70b11e0e2b0aa (diff) |
Fix clone handling with encryption roots
Currently, spa_keystore_change_key_sync_impl() does not recurse
into clones when updating encryption roots for either a call to
'zfs promote' or 'zfs change-key'. This can cause children of
these clones to end up in a state where they point to the wrong
dataset as the encryption root. It can also trigger ASSERTs in
some cases where the code checks reference counts on wrapping
keys. This patch fixes this issue by ensuring that this function
properly recurses into clones during processing.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alek Pinchuk <[email protected]>
Signed-off-by: Tom Caputi <[email protected]>
Closes #9267
Closes #9294
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions