diff options
Diffstat (limited to 'drivers/block/paride/pf.c')
-rw-r--r-- | drivers/block/paride/pf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/paride/pf.c b/drivers/block/paride/pf.c index d6f7bd84ed39..68a90834e993 100644 --- a/drivers/block/paride/pf.c +++ b/drivers/block/paride/pf.c | |||
@@ -762,10 +762,9 @@ static void do_pf_request(struct request_queue * q) | |||
762 | return; | 762 | return; |
763 | repeat: | 763 | repeat: |
764 | if (!pf_req) { | 764 | if (!pf_req) { |
765 | pf_req = elv_next_request(q); | 765 | pf_req = blk_fetch_request(q); |
766 | if (!pf_req) | 766 | if (!pf_req) |
767 | return; | 767 | return; |
768 | blkdev_dequeue_request(pf_req); | ||
769 | } | 768 | } |
770 | 769 | ||
771 | pf_current = pf_req->rq_disk->private_data; | 770 | pf_current = pf_req->rq_disk->private_data; |