[SCSI] qlogicfas: Close narrow race in release
authorMatthew Wilcox <matthew@wil.cx>
Wed, 15 Aug 2007 18:56:59 +0000 (12:56 -0600)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:51:26 +0000 (14:51 -0400)
commitc131993b4cbfb6d564619e609b3d0b471ec52c5d
treecac0a3b5709684ac4a07d6a86efa2622d5f0a10b
parent1bd405734651c9ebd1c872a452614f9fe381c673
[SCSI] qlogicfas: Close narrow race in release

We were releasing the IRQ before removing the host, so commands could
still be coming in which would never be seen by the interrupt handler.
Just remove the host before releasing the IRQ to close this race.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qlogicfas.c