nvmet: don't look at the request_queue in nvmet_bdev_zone_mgmt_emulate_all
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 08:24:07 +0000 (10:24 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 16:51:39 +0000 (18:51 +0200)
commit8df20252c06046ef4c68107bcaaca56c21028d8c
tree75735d09e5aff5accf39d7d3132852bbe841555a
parentfe6f04c079d0e4b38178955e0ea9d3fbc5d4066b
nvmet: don't look at the request_queue in nvmet_bdev_zone_mgmt_emulate_all

nvmet is a consumer of the block layer and should not directly look at
the request_queue.  Just use the NUMA node ID from the gendisk instead of
the request_queue.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/zns.c