+4
−3
Loading
spdk_bdev_init_complete could have been called twice. While here, also simplify bdev_initialize error path. On allocation failure, bdev subsystem will now finish with bdev_mgr->module_init_complete set to false. Fixes: 7fefd60f ("bdev: make module init synchronous again") Change-Id: Ia4b5d571d26beb34f0e6c0f4c7b3176215eec69f Signed-off-by:Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/375572 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com>