Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3da7849b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "block: Fix the setting of same_page variable"

parents 5328bcf5 9e5e30aa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -807,6 +807,7 @@ bool __bio_try_merge_page(struct bio *bio, struct page *page,
		struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1];

		if (page == bv->bv_page && off == bv->bv_offset + bv->bv_len) {
			*same_page = true;
			bv->bv_len += len;
			bio->bi_iter.bi_size += len;
			return true;