[BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn()
[linux-3.10.git] / drivers / block / sx8.c
index 1ded3b4..9251f41 100644 (file)
@@ -770,7 +770,7 @@ static inline void carm_end_request_queued(struct carm_host *host,
        rc = end_that_request_first(req, uptodate, req->hard_nr_sectors);
        assert(rc == 0);
 
-       end_that_request_last(req);
+       end_that_request_last(req, uptodate);
 
        rc = carm_put_request(host, crq);
        assert(rc == 0);