[SCSI] SCSI: fix scsi_kill_request() busy count handling
authorTejun Heo <htejun@gmail.com>
Tue, 11 Apr 2006 08:27:53 +0000 (17:27 +0900)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 13 Apr 2006 18:25:49 +0000 (13:25 -0500)
commite36e0c80137af8f012528938dab2970c26d5ec4c
treefd48fe9041800b7f995f12e64d08d3857f00af8b
parentaedf349773e5877d716a89368d512b9baa3e8c7b
[SCSI] SCSI: fix scsi_kill_request() busy count handling

scsi_kill_request() completes requests via normal SCSI completion path
which decrements busy counts; however, requests which get passed to
scsi_kill_request() aren't holding busy counts and scsi_kill_request()
don't increment them before invoking completion path resulting in
incorrect busy counts.  Bump up busy counts before invoking completion
path.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c