]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - .clang-format
block: add bio_for_each_bvec_all()
authorOmar Sandoval <osandov@fb.com>
Thu, 16 Apr 2020 21:46:11 +0000 (14:46 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 May 2020 09:25:24 +0000 (11:25 +0200)
commit1072c12d7d58b5512b6c05c2268f57d32f1ab76c
tree45deabef6738854caebcdada4773a68c3bae35b6
parent534cf531ccf6331b6e63a054f2ceb8e1ccff1ec9
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>
.clang-format
Documentation/block/biovecs.rst
include/linux/bio.h