OSDN Git Service

nvme: remove the disk argument to nvme_update_zone_info
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Aug 2020 12:02:18 +0000 (14:02 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 7 Oct 2020 05:56:17 +0000 (07:56 +0200)
commitd525c3c023221619748d1e758e5a26daa775f822
tree05799b2397b875961058d1073827e0f5d528644d
parent7fad20dd7c0ab1d2c224755a574576be25f13e03
nvme: remove the disk argument to nvme_update_zone_info

The queue can trivially be derived from the nvme_ns structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/zns.c