Loading
bdev/nvme: Replace linked list, nvme_ns->bdevs, by pointer, nvme_ns->bdev
By the recent changes, the linked list nvme_ns->bdevs has only a single bdev at the maximum. Hence replace it by the pointer nvme_ns->bdev, and remove the linked list pointer nvme_bdev->tailq. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ib976e15bb128ba8479070b58e5f4c43fb9dcf479 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6230 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:
Aleksey Marchuk <alexeymar@mellanox.com>