diff options
Diffstat (limited to 'block/as-iosched.c')
-rw-r--r-- | block/as-iosched.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/block/as-iosched.c b/block/as-iosched.c index c48fa670d221..45bd07059c28 100644 --- a/block/as-iosched.c +++ b/block/as-iosched.c | |||
@@ -1312,12 +1312,8 @@ static void as_merged_requests(struct request_queue *q, struct request *req, | |||
1312 | static void as_work_handler(struct work_struct *work) | 1312 | static void as_work_handler(struct work_struct *work) |
1313 | { | 1313 | { |
1314 | struct as_data *ad = container_of(work, struct as_data, antic_work); | 1314 | struct as_data *ad = container_of(work, struct as_data, antic_work); |
1315 | struct request_queue *q = ad->q; | ||
1316 | unsigned long flags; | ||
1317 | 1315 | ||
1318 | spin_lock_irqsave(q->queue_lock, flags); | 1316 | blk_run_queue(ad->q); |
1319 | blk_start_queueing(q); | ||
1320 | spin_unlock_irqrestore(q->queue_lock, flags); | ||
1321 | } | 1317 | } |
1322 | 1318 | ||
1323 | static int as_may_queue(struct request_queue *q, int rw) | 1319 | static int as_may_queue(struct request_queue *q, int rw) |