Loading
bdev/iscsi: fix double spdk_bdev_module_finish_done() call
bdev_iscsi_lun_cleanup() was not accounting for LUNs getting cleaned up before the module_finish function was called. This resulted in the bdev/iscsi module calling spdk_bdev_module_finish_done twice which resulted in io_device_unregister not found errors and possible seg faults. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I42c3e0af250e0abcea1cd88ffd3c041ebdaeea49 Reviewed-on: https://review.gerrithub.io/415372 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>