Commit 61d41f61 authored by Chad Dupuis's avatar Chad Dupuis Committed by Christoph Hellwig

qla2xxx: Disable PCI device in shutdown handler.

Disable the PCI device during shutdown to prevent any races with
other PCI code such as the AER handling code.
Signed-off-by: default avatarChad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: default avatarSaurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent ef86cb20
...@@ -3032,6 +3032,9 @@ qla2x00_shutdown(struct pci_dev *pdev) ...@@ -3032,6 +3032,9 @@ qla2x00_shutdown(struct pci_dev *pdev)
qla2x00_free_irqs(vha); qla2x00_free_irqs(vha);
qla2x00_free_fw_dump(ha); qla2x00_free_fw_dump(ha);
pci_disable_pcie_error_reporting(pdev);
pci_disable_device(pdev);
} }
/* Deletes all the virtual ports for a given ha */ /* Deletes all the virtual ports for a given ha */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment