Loading
bdev/nvme: Inline nvme_bdev_ns_to_bdev() and remove it
nvme_bdev_ns_to_bdev() was introduced because nvme_ns->bdev may be removed to support multipath. However, it is unlikely now. Hence it is easier to read to stop using nvme_bdev_ns_to_bdev() and access nvme_ns->bdev directly. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Iaf35455218761bafd03060a21110ad1c4098b1db Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7098 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com>