zfs diff on encrypted dataset leaks key reference
Review Request #2451 — Created Nov. 12, 2019 and submitted
Using the 'zfs diff' command on an encrypted dataset leaks a key reference. On a DEBUG kernel, exporting a zpool w/ a leaked key will trigger an ASSERT
Recreated the issue, then applied fix and ASSERT was no longer triggered. Also ran the zfs test suite as well as (soon to be out for review) zfs diff tests from ZoL.