diff options
author | George Amanakis <[email protected]> | 2020-04-28 12:53:45 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-28 09:53:45 -0700 |
commit | fa254605385ca8db5ce8594018b044e7e3091b5f (patch) | |
tree | b6d53099ab772bd3e4c4219d591aa98bf6742363 /module/zfs/vdev_initialize.c | |
parent | a8085184d6483d9d621c0c837718630af9b776f3 (diff) |
Add missing zfs_refcount_destroy() in key_mapping_rele()
Otherwise when running with reference_tracking_enable=TRUE mounting
and unmounting an encrypted dataset panics with:
Call Trace:
dump_stack+0x66/0x90
slab_err+0xcd/0xf2
? __kmalloc+0x174/0x260
? __kmem_cache_shutdown+0x158/0x240
__kmem_cache_shutdown.cold+0x1d/0x115
shutdown_cache+0x11/0x140
kmem_cache_destroy+0x210/0x230
spl_kmem_cache_destroy+0x122/0x3e0 [spl]
zfs_refcount_fini+0x11/0x20 [zfs]
spa_fini+0x4b/0x120 [zfs]
zfs_kmod_fini+0x6b/0xa0 [zfs]
_fini+0xa/0x68c [zfs]
__x64_sys_delete_module+0x19c/0x2b0
do_syscall_64+0x5b/0x1a0
entry_SYSCALL_64_after_hwframe+0x44/0xa9
Reviewed-By: Brian Behlendorf <[email protected]>
Reviewed-By: Tom Caputi <[email protected]>
Signed-off-by: George Amanakis <[email protected]>
Closes #10246
Diffstat (limited to 'module/zfs/vdev_initialize.c')
0 files changed, 0 insertions, 0 deletions