nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance
authorSagi Grimberg <sagi@grimberg.me>
Fri, 14 Aug 2020 18:46:51 +0000 (11:46 -0700)
committerSagi Grimberg <sagi@grimberg.me>
Fri, 28 Aug 2020 23:43:56 +0000 (16:43 -0700)
commitd7144f5c4cf4de95fdc3422943cf51c06aeaf7a7
tree68dcef75966ff97846e21180fc76bee3bca8e801
parenta6ce7d7b4adaebc27ee7e78e5ecc378a1cfc221d
nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance

NVME_CTRL_NEW should never see any I/O, because in order to start
initialization it has to transition to NVME_CTRL_CONNECTING and from
there it will never return to this state.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/fabrics.c