mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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:
parent
0de57fb93b
commit
220d06b553
1 changed files with 2 additions and 5 deletions
|
@ -24,11 +24,8 @@ static void issue_park_cmd(ide_drive_t *drive, unsigned long timeout)
|
||||||
start_queue = 1;
|
start_queue = 1;
|
||||||
spin_unlock_irq(&hwif->lock);
|
spin_unlock_irq(&hwif->lock);
|
||||||
|
|
||||||
if (start_queue) {
|
if (start_queue)
|
||||||
spin_lock_irq(q->queue_lock);
|
blk_run_queue(q);
|
||||||
blk_start_queueing(q);
|
|
||||||
spin_unlock_irq(q->queue_lock);
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
spin_unlock_irq(&hwif->lock);
|
spin_unlock_irq(&hwif->lock);
|
||||||
|
|
Loading…
Reference in a new issue