nvme: introduce a nvme_ns_ids structure
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Nov 2017 12:50:16 +0000 (13:50 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 11 Nov 2017 02:53:25 +0000 (19:53 -0700)
commit002fab040468f5b279f8d8d49d487e73b0c3f98a
tree823ea97677886dc0b536b2c211979c50fb3d5441
parentab9e00cc72fa4c6eb6370757b9e94c4645e91d5d
nvme: introduce a nvme_ns_ids structure

This allows us to manage the various uniqueue namespace identifiers
together instead needing various variables and arguments.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h