]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit26503d9d8d2952c8c17cef2930c3ffd3033e7181
treec33bc6ea2aadf3ad86cd2c1191ee64087a12aa25
parent5d49f682a679c34ba3be685448355a7dccc3bcc2
[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