[SCSI] aha152x: Close narrow race in release
authorMatthew Wilcox <matthew@wil.cx>
Wed, 15 Aug 2007 18:56:57 +0000 (12:56 -0600)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:51:22 +0000 (14:51 -0400)
commit1bd405734651c9ebd1c872a452614f9fe381c673
tree5f5e4a34ce580859f6de0adc15612f77123be6bc
parentdffe807cdbc6d2409b9bcc87a9517bb7c0d25b65
[SCSI] aha152x: 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/aha152x.c