From: Joe Lawrence Date: Tue, 26 Aug 2014 21:12:01 +0000 (-0400) Subject: qla2xxx: Schedule board_disable only once X-Git-Tag: fixes-for-v3.18-merge-window~25^2^2~156 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=232792b6b43b1420324e432a0498602b9c8d5a8c;p=pandora-kernel.git 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 Acked-by: Chad Dupuis Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed