aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/dm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 327de03a5bdf..829d9fc66453 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -669,6 +669,7 @@ static struct bio *split_bvec(struct bio *bio, sector_t sector,
669 clone->bi_size = to_bytes(len); 669 clone->bi_size = to_bytes(len);
670 clone->bi_io_vec->bv_offset = offset; 670 clone->bi_io_vec->bv_offset = offset;
671 clone->bi_io_vec->bv_len = clone->bi_size; 671 clone->bi_io_vec->bv_len = clone->bi_size;
672 clone->bi_flags |= 1 << BIO_CLONED;
672 673
673 return clone; 674 return clone;
674} 675}