diff options
| author | Shao Mingyin <shao.mingyin@zte.com.cn> | 2026-11-06 23:00:20 +0800 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-11-06 10:38:54 -0800 |
| commit | 687f3014afcd5826fa3d8f40b445f647b5a379b6 (patch) | |
| tree | 3549206b2923ba5b6cc1fb54b0b6ab98b9823654 /tools/perf/scripts/python | |
| parent | ad606ae5635b68e324005aaa06421be752619dab (diff) | |
nvmet: zns: return the namespace lookup error for Identify
nvmet_execute_identify_ns_zns() jumps to done when nvmet_req_find_ns()
fails, and that label overwrites status with a successful copy of the
zeroed identify data. An Identify with CNS 05h and CSI 02h for a
missing NSID therefore completes with SUCCESS and zeroed data instead
of Invalid Namespace.
Return the lookup error instead.
Fixes: aaf2e048af27 ("nvmet: add ZBD over ZNS backend support")
Cc: stable@vger.kernel.org
Signed-off-by: Shao Mingyin <shao.mingyin@zte.com.cn>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
