OSDN Git Service

nvme-pci: rename nvme_disable_io_queues
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Nov 2022 08:07:48 +0000 (09:07 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 6 Dec 2022 13:36:54 +0000 (14:36 +0100)
commit7d879c90ae6cf58f4a4caad8562d700b95bc1dbe
tree7b697e051ad71312c517759426a918e3a5e083b4
parent10981f23a1b865290a5e21ad43a0f93710271cc6
nvme-pci: rename nvme_disable_io_queues

This function really deletes the I/O queues, so rename it to match
the functionality.  Also move the main wrapper right next to the
actual underlying implementation.

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