+14
−17
Loading
Consolidate populate_namespaces_cb() calls for error cases into connect_attach_cb(). Then remove ctx parameter from bdev_nvme_add_secondary_trid() because it is not necessary now. The next patch will inline _nvme_bdev_ctrlr_create() into nvme_bdev_ctrlr_create(). Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ia94f456df160c1cc874acac4c70aad27102cb0b6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8314 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>