OSDN Git Service

nvme-pci: don't share queue maps
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Dec 2018 11:16:27 +0000 (12:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Dec 2018 12:44:45 +0000 (05:44 -0700)
commit7e849dd9cf37bc52aff9b5236377c405040c959c
tree27ee84a51ccafaabec890421d4c9a80721882da3
parent5aceaeb26394538858a9dbae5830d628469a44cf
nvme-pci: don't share queue maps

Now that the block layer checks if a queue map has any queues inside
it there is no more reason to duplicate the maps for the non-default
types.

Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c