projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf hists browser: Fix dump to show correct callchain style
[cascardo/linux.git]
/
block
/
blk-merge.c
diff --git
a/block/blk-merge.c
b/block/blk-merge.c
index
e73846a
..
e01405a
100644
(file)
--- a/
block/blk-merge.c
+++ b/
block/blk-merge.c
@@
-81,7
+81,7
@@
static struct bio *blk_bio_segment_split(struct request_queue *q,
struct bio *new = NULL;
bio_for_each_segment(bv, bio, iter) {
- if (sectors + (bv.bv_len >> 9) >
blk_max_size_offset(q, bio->bi_iter.bi_sector
))
+ if (sectors + (bv.bv_len >> 9) >
queue_max_sectors(q
))
goto split;
/*