Spdk/lib/bdev/crypto
Paul Luse 421dd2ea28 bdev/crypto: unregister io_device on failure in RPC create
In create_crypto_disk() we were failing to unregsiter the io_device
in the event that spdk_vbdev_register() call failed.  Found via
inspection looking into a CI failure however this potentially could
have caused that failure as well (I don't think so though, there
were no prints in the log that it followed this path).

Change-Id: I7085c4e25665a5a15def38d6726d519731b7e44e
Signed-off-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/432932 (master)
Reviewed-on: https://review.gerrithub.io/435676
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
2018-12-05 14:40:12 +00:00
..
Makefile bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00
vbdev_crypto_rpc.c crypto: fix file permissions 2018-09-28 18:50:16 +00:00
vbdev_crypto.c bdev/crypto: unregister io_device on failure in RPC create 2018-12-05 14:40:12 +00:00
vbdev_crypto.h crypto: fix file permissions 2018-09-28 18:50:16 +00:00