]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fabrics: allow internal passthrough command on deleting controllers
authorChristoph Hellwig <hch@lst.de>
Fri, 25 May 2018 13:41:54 +0000 (15:41 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 31 May 2018 16:46:46 +0000 (18:46 +0200)
commit2fcc3f823355f44399d57dc7df906e0592267de0
tree39e9442baf11c344ae8ca804863c7b4b0b3523f2
parentcfe2279d5b1a23cdf926b5c2d1e9eba7b7ca5809
nvme-fabrics: allow internal passthrough command on deleting controllers

Without this we can't cleanly shut down.

Based on analysis an an earlier patch from Hannes Reinecke.

Fixes: ccbed1e2b050 ("nvme: expand nvmf_check_if_ready checks")
Reported-by: Hannes Reinecke <hare@suse.de>
Tested-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: James Smart <james.smart@broadcom.com>
drivers/nvme/host/fabrics.c