+15
−3
Loading
This avoids recursion in the case where the remove_cb immediately closes its open descriptor, resulting in a second call to spdk_bdev_unregister without unwinding first. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I093786f13bb2953b8f08888a668a045581a9f81c Reviewed-on: https://review.gerrithub.io/400305 Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com>