diff options
author | 2020-01-03 12:11:30 -0800 | |
---|---|---|
committer | 2020-01-03 12:11:30 -0800 | |
commit | b6b4aafc99d7c8dbf7d9429bf054b591daab1ad0 (patch) | |
tree | e385372876aa314701286d3c1e807a534840fc2b /include | |
parent | Merge tag 'kbuild-fixes-v5.5-2' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
parent | null_blk: Fix REQ_OP_ZONE_CLOSE handling (diff) | |
download | linux-b6b4aafc99d7c8dbf7d9429bf054b591daab1ad0.tar.gz linux-b6b4aafc99d7c8dbf7d9429bf054b591daab1ad0.tar.bz2 linux-b6b4aafc99d7c8dbf7d9429bf054b591daab1ad0.zip |
Merge tag 'block-5.5-20200103' of git://git.kernel.dk/linux-block
Pull block fixes from Jens Axboe:
"Three fixes in here:
- Fix for a missing split on default memory boundary mask (4G) (Ming)
- Fix for multi-page read bio truncate (Ming)
- Fix for null_blk zone close request handling (Damien)"
* tag 'block-5.5-20200103' of git://git.kernel.dk/linux-block:
null_blk: Fix REQ_OP_ZONE_CLOSE handling
block: fix splitting segments on boundary masks
block: add bio_truncate to fix guard_bio_eod
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/bio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 3cdb84cdc488..853d92ceee64 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -470,6 +470,7 @@ extern struct bio *bio_copy_user_iov(struct request_queue *, gfp_t); extern int bio_uncopy_user(struct bio *); void zero_fill_bio_iter(struct bio *bio, struct bvec_iter iter); +void bio_truncate(struct bio *bio, unsigned new_size); static inline void zero_fill_bio(struct bio *bio) { |