diff options
author | Joe Lawrence <joe.lawrence@stratus.com> | 2014-08-26 23:12:29 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-16 18:10:01 +0200 |
commit | 6b3839790b16adffbbe2f5967e149562a5a603e8 (patch) | |
tree | c9939898a1f8ddfdc3cbe6815d42aada3b2ee1dd /drivers/scsi/fnic/fnic_fcs.c | |
parent | qla2xxx: Prevent removal and board_disable race (diff) | |
download | linux-6b3839790b16adffbbe2f5967e149562a5a603e8.tar.xz linux-6b3839790b16adffbbe2f5967e149562a5a603e8.zip |
qla2xxx: Prevent probe and board_disable race
The PCI register read checking introduced in commit fe1b806f4f71
("qla2xxx: Disable adapter when we encounter a PCI disconnect") is
active during driver probe. Hold off scheduling any board removal until
the driver probe has completed. This ensures that the the board_disable
work structure is initialized and more importantly, avoids racing
qla2x00_probe_one.
Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/fnic/fnic_fcs.c')
0 files changed, 0 insertions, 0 deletions