+1
−10
+16
−8
Loading
Factor out the common operation of nvme_ctrlr_depopulate_namespace_done() and nvme_bdev_attach_bdev_to_ns() into a helper function nvme_bdev_ns_detach(). Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I8efa8bc2c2d455d0fd9e0865ff85fd265d14ee06 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5613 Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>