]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - block/blk-core.c
blktrace: fix accounting of partially completed requests
[mirror_ubuntu-artful-kernel.git] / block / blk-core.c
index 853f92749202cbfe5b252d557f667b7f970ac872..99e20cca37e1a74ad0b4f6b18a98685b6918c26c 100644 (file)
@@ -2354,7 +2354,7 @@ bool blk_update_request(struct request *req, int error, unsigned int nr_bytes)
        if (!req->bio)
                return false;
 
-       trace_block_rq_complete(req->q, req);
+       trace_block_rq_complete(req->q, req, nr_bytes);
 
        /*
         * For fs requests, rq is just carrier of independent bio's