diff options
author | Christoph Hellwig <hch@lst.de> | 2021-02-02 18:19:27 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-08 16:33:16 +0100 |
commit | 977be01273844626ddeef4a464b42b99418d76e6 (patch) | |
tree | fd719c39aec963f3da5f658912ac0421ec04fb85 /block/t10-pi.c | |
parent | block: set BIO_NO_PAGE_REF in bio_iov_bvec_set (diff) | |
download | linux-977be01273844626ddeef4a464b42b99418d76e6.tar.xz linux-977be01273844626ddeef4a464b42b99418d76e6.zip |
block: mark the bio as cloned in bio_iov_bvec_set
bio_iov_bvec_set clones the bio_vecs from the iter, and thus should be
treated like a cloned bio in every respect. That also includes not
touching bi_max_vecs as that is a property of the bio allocation and not
its current payload.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions