Commit ca2e9255 authored by Jens Axboe's avatar Jens Axboe Committed by Linus Torvalds

[PATCH] no blk_queue_empty

The single missing bit, please add that as well. Was missed because this
driver actually used elv_queue_empty, not blk_queue_empty.
parent 79eee7c1
......@@ -780,10 +780,10 @@ static void do_pf_request(request_queue_t * q)
if (pf_busy)
return;
repeat:
if (elv_queue_empty(q))
pf_req = elv_next_request(q);
if (!pf_req)
return;
pf_req = elv_next_request(q);
pf_current = pf_req->rq_disk->private_data;
pf_block = pf_req->sector;
pf_run = pf_req->nr_sectors;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment