diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2023-03-15 13:59:37 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-04-13 09:55:04 +0300 |
commit | 97416f67d55fb8b866ff1815ca7ef26b6dfa6a5e (patch) | |
tree | 21688f76ee15172e07cfc45550c11fb93b2ff861 /scripts/lib/kdoc/kdoc_files.py | |
parent | 62904b3b333e7f3c0f879dc3513295eee5765c9f (diff) | |
download | linux-97416f67d55fb8b866ff1815ca7ef26b6dfa6a5e.tar.xz |
nvmet: fix Identify Active Namespace ID list handling
The identify command with cns set to NVME_ID_CNS_NS_ACTIVE_LIST does
not depend on the command set. The execution of this command should
thus not look at the csi field specified in the command. Simplify
nvmet_execute_identify() to directly call
nvmet_execute_identify_nslist() without the csi switch-case.
Fixes: ab5d0b38c047 ("nvmet: add Command Set Identifier support")
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Tested-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions