summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-04-19 07:00:41 +0900
committerJens Axboe <jens.axboe@oracle.com>2009-04-28 07:37:28 +0200
commit220d06b5531e7b8a6226b2fdfb21198c3ccc4f76 (patch)
tree9babf9bbe555dc77570bfafc5e8c86c835056c2f
parent0de57fb93b1daaeaecb658a98b3299ae460c02e9 (diff)
downloadlinux-220d06b5531e7b8a6226b2fdfb21198c3ccc4f76.tar.gz
linux-220d06b5531e7b8a6226b2fdfb21198c3ccc4f76.tar.bz2
linux-220d06b5531e7b8a6226b2fdfb21198c3ccc4f76.zip
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>
-rw-r--r--drivers/ide/ide-park.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/ide/ide-park.c b/drivers/ide/ide-park.c
index 310d03f2b5b7..a914023d6d03 100644
--- a/drivers/ide/ide-park.c
+++ b/drivers/ide/ide-park.c
@@ -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);