diff options
author | Omar Sandoval <osandov@fb.com> | 2020-04-16 14:46:11 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-05-25 11:25:24 +0200 |
commit | 1072c12d7d58b5512b6c05c2268f57d32f1ab76c (patch) | |
tree | 45deabef6738854caebcdada4773a68c3bae35b6 /block/bsg.c | |
parent | 534cf531ccf6331b6e63a054f2ceb8e1ccff1ec9 (diff) | |
download | linux-1072c12d7d58b5512b6c05c2268f57d32f1ab76c.tar.gz linux-1072c12d7d58b5512b6c05c2268f57d32f1ab76c.tar.bz2 linux-1072c12d7d58b5512b6c05c2268f57d32f1ab76c.zip |
block: add bio_for_each_bvec_all()
An upcoming Btrfs fix needs to know the original size of a non-cloned
bios. Rather than accessing the bvec table directly, let's add a
bio_for_each_bvec_all() accessor.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions