Message ID | 20220120201737.65390-1-jsmart2021@gmail.com |
---|---|
State | New |
Headers | show |
Series | nvme-fabrics: Fix state check in nvmf_ctlr_matches_baseopts() | expand |
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Thanks, applied to nvme-5.17.
diff --git a/drivers/nvme/host/fabrics.h b/drivers/nvme/host/fabrics.h index c3203ff1c654..1e3a09cad961 100644 --- a/drivers/nvme/host/fabrics.h +++ b/drivers/nvme/host/fabrics.h @@ -170,6 +170,7 @@ nvmf_ctlr_matches_baseopts(struct nvme_ctrl *ctrl, struct nvmf_ctrl_options *opts) { if (ctrl->state == NVME_CTRL_DELETING || + ctrl->state == NVME_CTRL_DELETING_NOIO || ctrl->state == NVME_CTRL_DEAD || strcmp(opts->subsysnqn, ctrl->opts->subsysnqn) || strcmp(opts->host->nqn, ctrl->opts->host->nqn) ||