projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4f42e2
)
blk-mq: initialize resid_len
author
Christoph Hellwig
<hch@lst.de>
Mon, 14 Apr 2014 08:30:06 +0000
(10:30 +0200)
committer
Jens Axboe
<axboe@fb.com>
Tue, 15 Apr 2014 20:03:02 +0000
(14:03 -0600)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-mq.c
b/block/blk-mq.c
index 5455ed19de1c5aa82c46d2f4ab434f2cf24e746a..658428a28fafb47e3644c100f320addaf1d62e26 100644
(file)
--- a/
block/blk-mq.c
+++ b/
block/blk-mq.c
@@
-353,6
+353,8
@@
static void blk_mq_start_request(struct request *rq, bool last)
trace_block_rq_issue(q, rq);
+ rq->resid_len = blk_rq_bytes(rq);
+
/*
* Just mark start time and set the started bit. Due to memory
* ordering, we know we'll see the correct deadline as long as