]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: move the CSI sanity check into nvme_ns_report_zones
authorChristoph Hellwig <hch@lst.de>
Wed, 19 May 2021 07:11:54 +0000 (09:11 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 3 Jun 2021 07:29:25 +0000 (10:29 +0300)
commitf30abe238b5cff9bb569a829e5b7f7b9468bd99f
tree7e699c810993c3fae235f119b27c5e316ed5febd
parent75bbd33242e6cea3684a14733bd203b3575243ad
nvme: move the CSI sanity check into nvme_ns_report_zones

Move the CSI check into nvme_ns_report_zones to clean up the code
a little bit and prepare for further refactoring.

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/zns.c