Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147076
b: refs/heads/master
c: dbb66c4
h: refs/heads/master
v: v3
  • Loading branch information
FUJITA Tomonori authored and Jens Axboe committed Jun 9, 2009
1 parent 8c700a8 commit 3db60c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 172124e220f1854acc99ee394671781b8b5e2120
refs/heads/master: dbb66c4be020b01dc2f3d7c609ddb0e09d2c0af7
3 changes: 3 additions & 0 deletions trunk/block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1846,6 +1846,9 @@ void blk_start_request(struct request *req)
* resid_len to full count and add the timeout handler.
*/
req->resid_len = blk_rq_bytes(req);
if (unlikely(blk_bidi_rq(req)))
req->next_rq->resid_len = blk_rq_bytes(req->next_rq);

blk_add_timer(req);
}
EXPORT_SYMBOL(blk_start_request);
Expand Down

0 comments on commit 3db60c5

Please sign in to comment.