diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-01-04 22:43:27 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-04 22:43:27 +0100 |
commit | ee4b4e2248565babfba807d82c0f3e00c392a4c0 (patch) | |
tree | 3961b1ff2e264c49e8b8ea84612e4a4c046cf85a /include | |
parent | ublk: honor IO_URING_F_NONBLOCK for handling control command (diff) | |
download | linux-ee4b4e2248565babfba807d82c0f3e00c392a4c0.tar.xz linux-ee4b4e2248565babfba807d82c0f3e00c392a4c0.zip |
Revert "block: bio_copy_data_iter"
This reverts commit db1c7d77976775483a8ef240b4c705f113e13ea1.
We're reinstating the pktcdvd driver, which needs this API.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/bio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 22078a28d7cb..c1da63f6c808 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -475,6 +475,8 @@ void __bio_release_pages(struct bio *bio, bool mark_dirty); extern void bio_set_pages_dirty(struct bio *bio); extern void bio_check_pages_dirty(struct bio *bio); +extern void bio_copy_data_iter(struct bio *dst, struct bvec_iter *dst_iter, + struct bio *src, struct bvec_iter *src_iter); extern void bio_copy_data(struct bio *dst, struct bio *src); extern void bio_free_pages(struct bio *bio); void guard_bio_eod(struct bio *bio); |