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