ide: use blk_run_queue() instead of blk_start_queueing()

blk_start_queueing() is being phased out in favor of
[__]blk_run_queue().  Switch.

Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
Tejun Heo 2009-04-19 07:00:41 +09:00 committed by Jens Axboe
parent 0de57fb93b
commit 220d06b553
1 changed files with 2 additions and 5 deletions

View File

@ -24,11 +24,8 @@ static void issue_park_cmd(ide_drive_t *drive, unsigned long timeout)
start_queue = 1;
spin_unlock_irq(&hwif->lock);
if (start_queue) {
spin_lock_irq(q->queue_lock);
blk_start_queueing(q);
spin_unlock_irq(q->queue_lock);
}
if (start_queue)
blk_run_queue(q);
return;
}
spin_unlock_irq(&hwif->lock);