]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/memstick/core/mspro_block.c
memstick: change to use __blk_end_request()
[linux-2.6-omap-h63xx.git] / drivers / memstick / core / mspro_block.c
index 82bf649ef138aa5b2fc3c745ddaf677cfd6ac5d8..6e291bf8237adaa0d7c5ea84f8ffda8e9ee440e3 100644 (file)
@@ -828,7 +828,7 @@ static void mspro_block_submit_req(struct request_queue *q)
 
        if (msb->eject) {
                while ((req = elv_next_request(q)) != NULL)
-                       end_queued_request(req, -ENODEV);
+                       __blk_end_request(req, -ENODEV, blk_rq_bytes(req));
 
                return;
        }