]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit44934a57d35dfb3e71eb27f60d9808bd8ed2ef66
treefd48fe9041800b7f995f12e64d08d3857f00af8b
parent96425b1687041543bfb886ed75822c468f0bf30b
[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