|
@@ -648,8 +648,8 @@ static void scsi_requeue_command(struct request_queue *q, struct scsi_cmnd *cmd)
|
|
|
struct request *req = cmd->request;
|
|
|
unsigned long flags;
|
|
|
|
|
|
- scsi_unprep_request(req);
|
|
|
spin_lock_irqsave(q->queue_lock, flags);
|
|
|
+ scsi_unprep_request(req);
|
|
|
blk_requeue_request(q, req);
|
|
|
spin_unlock_irqrestore(q->queue_lock, flags);
|
|
|
|