commit | 1072c12d7d58b5512b6c05c2268f57d32f1ab76c | [log] [tgz] |
---|---|---|
author | Omar Sandoval <osandov@fb.com> | Thu Apr 16 14:46:11 2020 -0700 |
committer | David Sterba <dsterba@suse.com> | Mon May 25 11:25:24 2020 +0200 |
tree | 45deabef6738854caebcdada4773a68c3bae35b6 | |
parent | 534cf531ccf6331b6e63a054f2ceb8e1ccff1ec9 [diff] |
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>