mirror_zfs/module
Tom Caputi 7e1b772edd Fix 'zfs change-key' with unencrypted child
Currently, when you call 'zfs change-key' on an encrypted dataset
that has an unencrypted child, the code will trigger a VERIFY.
This VERIFY is leftover from before we allowed unencrypted
datasets to exist underneath encrypted ones. This patch fixes the
issue by simply replacing the VERIFY with an early return when
recursing through datasets.

Reviewed by: Jason King <jason.brian.king@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 #9524
2020-01-22 13:49:03 -08:00
..
avl Fix typos in module/ 2020-01-22 13:48:59 -08:00
icp Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
lua Fix typos in module/ 2020-01-22 13:48:59 -08:00
nvpair Fix typos in module/ 2020-01-22 13:48:59 -08:00
spl Update skc_obj_alloc for spl kmem caches that are backed by Linux 2020-01-22 13:49:03 -08:00
unicode Update build system and packaging 2018-05-29 16:00:33 -07:00
zcommon Fix pool creation with feature@allocation_classes disabled 2020-01-22 13:49:02 -08:00
zfs Fix 'zfs change-key' with unencrypted child 2020-01-22 13:49:03 -08:00
.gitignore Prepare SPL repo to merge with ZFS repo 2018-05-29 14:51:39 -07:00
Makefile.in module/Makefile.in: don't run xargs if empty 2020-01-22 13:49:02 -08:00