diff options
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r-- | drivers/block/cciss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index ab7b04c0db70..e714e7cce6f2 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -2801,7 +2801,7 @@ static void do_cciss_request(struct request_queue *q) | |||
2801 | goto startio; | 2801 | goto startio; |
2802 | 2802 | ||
2803 | queue: | 2803 | queue: |
2804 | creq = elv_next_request(q); | 2804 | creq = blk_peek_request(q); |
2805 | if (!creq) | 2805 | if (!creq) |
2806 | goto startio; | 2806 | goto startio; |
2807 | 2807 | ||
@@ -2810,7 +2810,7 @@ static void do_cciss_request(struct request_queue *q) | |||
2810 | if ((c = cmd_alloc(h, 1)) == NULL) | 2810 | if ((c = cmd_alloc(h, 1)) == NULL) |
2811 | goto full; | 2811 | goto full; |
2812 | 2812 | ||
2813 | blkdev_dequeue_request(creq); | 2813 | blk_start_request(creq); |
2814 | 2814 | ||
2815 | spin_unlock_irq(q->queue_lock); | 2815 | spin_unlock_irq(q->queue_lock); |
2816 | 2816 | ||