]> git.proxmox.com Git - mirror_zfs.git/commit
Fix error message on promoting encrypted dataset
authorTom Caputi <tcaputi@datto.com>
Mon, 24 Jun 2019 23:42:52 +0000 (19:42 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 24 Jun 2019 23:42:52 +0000 (16:42 -0700)
commit53864800f60b843b8212514428530adfa155211b
tree9b249dfd150a2c26bed6c4cea6b7f085db0b308b
parent8f12a4f8d2846ca668f8ad90d9ea5c19c8c0b78f
Fix error message on promoting encrypted dataset

This patch corrects the error message reported when attempting
to promote a dataset outside of its encryption root.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #8905
Closes #8935
lib/libzfs/libzfs_dataset.c
module/zfs/dsl_crypt.c