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>
This commit is contained in:
Christoph Hellwig
2023-03-15 15:14:31 +01:00
parent 2f17f42c7f
commit 9326353566
3 changed files with 4 additions and 4 deletions

View File

@@ -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;