diff options
author | Christoph Hellwig <hch@lst.de> | 2023-03-15 15:14:31 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-04-13 08:55:04 +0200 |
commit | 932635356618c19317c5b306b320368525cd1961 (patch) | |
tree | 6e1b2abb34f9cd6029fce5a293a4b04357c16037 /drivers/nvme/target/admin-cmd.c | |
parent | nvmet: fix Identify Identification Descriptor List handling (diff) | |
download | linux-932635356618c19317c5b306b320368525cd1961.tar.xz linux-932635356618c19317c5b306b320368525cd1961.zip |
nvmet: rename nvmet_execute_identify_cns_cs_ns
nvmet_execute_identify_ns_zns is a more descriptive name for the
function handling the "I/O Command Set Specific Identify Namespace
Data Structure for the Zoned Namespace Command Set".
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/nvme/target/admin-cmd.c')
-rw-r--r-- | drivers/nvme/target/admin-cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvme/target/admin-cmd.c b/drivers/nvme/target/admin-cmd.c index c0908031ce25..afdf69f92599 100644 --- a/drivers/nvme/target/admin-cmd.c +++ b/drivers/nvme/target/admin-cmd.c @@ -692,7 +692,7 @@ static void nvmet_execute_identify(struct nvmet_req *req) return; case NVME_ID_CNS_NS_DESC_LIST: nvmet_execute_identify_desclist(req); - break; + return; case NVME_ID_CNS_CS_NS: switch (req->cmd->identify.csi) { case NVME_CSI_NVM: @@ -700,7 +700,7 @@ static void nvmet_execute_identify(struct nvmet_req *req) break; case NVME_CSI_ZNS: if (IS_ENABLED(CONFIG_BLK_DEV_ZONED)) { - nvmet_execute_identify_cns_cs_ns(req); + nvmet_execute_identify_ns_zns(req); return; } break; |