commit | 68e81eba6763cd834aa8ff9ac0cd6174fa69fa39 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Nov 16 09:09:48 2022 +0100 |
committer | Christoph Hellwig <hch@lst.de> | Tue Dec 06 14:38:19 2022 +0100 |
tree | 38f881c9c6b134bba25bfab08a6d6758a7c3ae37 | |
parent | 8cb9f10b7151e308824cdcf3168010d673e7888c [diff] |
nvme-pci: split out a nvme_pci_ctrl_is_dead helper Clean up nvme_dev_disable by splitting the logic to detect if a controller is dead into a separate helper. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me>