summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorJoe Lawrence <joe.lawrence@stratus.com>2014-08-26 23:12:01 +0200
committerChristoph Hellwig <hch@lst.de>2014-09-16 18:10:00 +0200
commit232792b6b43b1420324e432a0498602b9c8d5a8c (patch)
tree8d1b0a950b5a903205202c1212ccece8aa0e62d5 /drivers/scsi/qla2xxx/qla_os.c
parentqla2xxx: Collect PCI register checks and board_disable scheduling (diff)
downloadlinux-232792b6b43b1420324e432a0498602b9c8d5a8c.tar.xz
linux-232792b6b43b1420324e432a0498602b9c8d5a8c.zip
qla2xxx: Schedule board_disable only once
There are various callers of qla2x00_check_reg{32,16}_for_disconnect that may schedule board removal on PCI-disconnect. Test-and-set a dedicated flag before scheduling board_disable so it is invoked only once. 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/qla2xxx/qla_os.c')
0 files changed, 0 insertions, 0 deletions