]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] ide-scsi: Close narrow race in release
authorMatthew Wilcox <matthew@wil.cx>
Wed, 15 Aug 2007 18:57:01 +0000 (12:57 -0600)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:51:14 +0000 (14:51 -0400)
commitbdec5c1584cc4521c0412fd4428c4d474be9ca84
tree2b669ff314903bca1f2f356c5fb83bf9d4499e6c
parent231e61149ccb5ad93c6dd7b2d8c3b298949b6e64
[SCSI] ide-scsi: Close narrow race in release

We were releasing the block devices before removing the host, so commands
could still be coming in which would cause a panic.  Just remove the
host before releasing the block devices to close this race.

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