]> err.no Git - linux-2.6/blobdiff - drivers/mmc/mmc_block.c
[BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn()
[linux-2.6] / drivers / mmc / mmc_block.c
index abcf19116d70af5af3289551fbb5d5317d000be1..8e380c14bf65135dd256ab4fdf9081e69cf9f8a9 100644 (file)
@@ -263,7 +263,7 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
                         */
                        add_disk_randomness(req->rq_disk);
                        blkdev_dequeue_request(req);
-                       end_that_request_last(req);
+                       end_that_request_last(req, 1);
                }
                spin_unlock_irq(&md->lock);
        } while (ret);
@@ -289,7 +289,7 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
 
        add_disk_randomness(req->rq_disk);
        blkdev_dequeue_request(req);
-       end_that_request_last(req);
+       end_that_request_last(req, 0);
        spin_unlock_irq(&md->lock);
 
        return 0;