[SCSI] make scsi_requeue_request() use blk_requeue_request()
authorTejun Heo <htejun@gmail.com>
Sun, 24 Apr 2005 07:06:36 +0000 (02:06 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 20 May 2005 17:53:29 +0000 (12:53 -0500)
commit283369ccc26705bd9585a0e533c92bd7364c28d1
treeab48a0466020040d7476c9b0c8d245629c65f545
parent867d1191fca388a79e4bb500dd85a9e871c96b99
[SCSI] make scsi_requeue_request() use blk_requeue_request()

scsi_requeue_request() used to use blk_insert_request() for requeueing
requests.  This depends on the unobvious behavior of
blk_insert_request() setting REQ_SPECIAL and REQ_SOFTBARRIER when
requeueing.  This patch makes scsi_queue_insert() use
blk_requeue_request().  As REQ_SPECIAL means special requests and
REQ_SOFTBARRIER is automatically handled by blk layer now, no flag
needs to be set.

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