summaryrefslogtreecommitdiffstats
path: root/tests/test-runner
diff options
context:
space:
mode:
authorJorgen Lundman <[email protected]>2019-04-11 07:39:40 +0900
committerBrian Behlendorf <[email protected]>2019-04-10 15:39:40 -0700
commit48ed0f9da0389f3ad44e494b00055c8563f961a1 (patch)
tree311279b2c75da26536051eed845cc52f76729c67 /tests/test-runner
parent8cb34421e0bf1fea316d16014483d61381a41f57 (diff)
Always call rw_init in zio_crypt_key_unwrap
The error path in zio_crypt_key_unwrap would call zio_crypt_key_destroy which calls rw_destroy(&key->zk_salt_lock); which has not yet been initialized. We move the rw_init() call to the start of zio_crypt_key_unwrap instead. Reviewed-by: Tom Caputi <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Jorgen Lundman <[email protected]> Closes #8604 Closes #8605
Diffstat (limited to 'tests/test-runner')
0 files changed, 0 insertions, 0 deletions