]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/block/cciss.c
block: implement and enforce request peek/start/fetch
[mirror_ubuntu-bionic-kernel.git] / drivers / block / cciss.c
index ab7b04c0db70ace0296cbbdcfe88bf7fc63e2bb3..e714e7cce6f27b2a3ede8e0cccf5c2c569723acc 100644 (file)
@@ -2801,7 +2801,7 @@ static void do_cciss_request(struct request_queue *q)
                goto startio;
 
       queue:
-       creq = elv_next_request(q);
+       creq = blk_peek_request(q);
        if (!creq)
                goto startio;
 
@@ -2810,7 +2810,7 @@ static void do_cciss_request(struct request_queue *q)
        if ((c = cmd_alloc(h, 1)) == NULL)
                goto full;
 
-       blkdev_dequeue_request(creq);
+       blk_start_request(creq);
 
        spin_unlock_irq(q->queue_lock);