[PATCH] nvmet-passthru: allow nvme ns-id descriptor list to clear EUID/NGUID/UUID
Keith Busch
kbusch at kernel.org
Fri Sep 20 09:49:54 PDT 2024
On Tue, Sep 17, 2024 at 02:21:04PM +0530, Nilay Shroff wrote:
> @@ -547,7 +543,11 @@ u16 nvmet_parse_passthru_admin_cmd(struct nvmet_req *req)
> return NVME_SC_SUCCESS;
> }
> return NVME_SC_INVALID_OPCODE | NVME_STATUS_DNR;
> + case NVME_ID_CNS_CTRL:
> + fallthrough;
> case NVME_ID_CNS_NS:
> + fallthrough;
> + case NVME_ID_CNS_NS_DESC_LIST:
I'm pretty sure you only need the "fallthrough" statement when you other
statements inbetween the cases.
More information about the Linux-nvme
mailing list