]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fabrics: handle the admin-only case properly in nvmf_check_ready
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Jun 2018 15:37:23 +0000 (17:37 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 15 Jun 2018 09:21:00 +0000 (11:21 +0200)
commit5081b341e3d2777f2fb2c55a909e28ed8a42a45a
tree1b67f22f34223cd4b197fdbe97bed3d6d97cc0e0
parentf29f4458147db6708ae7b764faa9c3829c0774f1
nvme-fabrics: handle the admin-only case properly in nvmf_check_ready

In the ADMIN_ONLY state we don't have any I/O queues, but we should accept
all admin commands without further checks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: James Smart <james.smart@broadcom.com>
drivers/nvme/host/fabrics.h