commit | 232792b6b43b1420324e432a0498602b9c8d5a8c | [log] [tgz] |
---|---|---|
author | Joe Lawrence <joe.lawrence@stratus.com> | Tue Aug 26 17:12:01 2014 -0400 |
committer | Christoph Hellwig <hch@lst.de> | Tue Sep 16 09:10:00 2014 -0700 |
tree | 8d1b0a950b5a903205202c1212ccece8aa0e62d5 | |
parent | c821e0d5b20006acdaca7aa378097a084986e37b [diff] |
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>