Move queue insertion to the end to avoid removal in error cases. spdk_bdev_module_examine_done() is duplicated with the caller in error cases and so remove it. I/O channel is not got in this function and so remove spdk_put_io_channel() in error cases. move up spdk_bdev_close() to call at error_bdev_register or error_claim label. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I34a1459dcb0d3e0a2018f5b50db5be3ac44b6049 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1469 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
vbdev_compress_rpc.c | ||
vbdev_compress.c | ||
vbdev_compress.h |