git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92697dc
)
block: blk-merge: fix blk_recount_segments()
author
Ming Lei
<tom.leiming@gmail.com>
Tue, 11 Nov 2014 16:15:41 +0000
(
00:15
+0800)
committer
Jens Axboe
<axboe@fb.com>
Tue, 11 Nov 2014 23:24:15 +0000
(16:24 -0700)
For cloned bio, bio->bi_vcnt can't be used at all, and we
have resort to bio_segments() to figure out how many
segment there are in the bio.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-merge.c
patch
|
blob
|
history
diff --cc
block/blk-merge.c
Simple merge