nvme: replace ida_simple[get|remove] with the simler ida_[alloc|free]
authorSagi Grimberg <sagi@grimberg.me>
Mon, 14 Feb 2022 09:07:27 +0000 (11:07 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 11:45:05 +0000 (13:45 +0200)
commit8b850475c08caa9545c460d7dc823d0a8c7eafd3
treed572bdfce7dfb5f743f10b4c20168f68cfd88c52
parent6f6d604b4ef896793901f213db3b45eefa7288fa
nvme: replace ida_simple[get|remove] with the simler ida_[alloc|free]

ida_simple_[get|remove] are wrappers anyways.

Also, use ida_alloc_min with the ns_ida as namespace
enumeration starts with 1.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c