summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2020-04-16 14:46:11 -0700
committerDavid Sterba <dsterba@suse.com>2020-05-25 11:25:24 +0200
commit1072c12d7d58b5512b6c05c2268f57d32f1ab76c (patch)
tree45deabef6738854caebcdada4773a68c3bae35b6 /.clang-format
parent534cf531ccf6331b6e63a054f2ceb8e1ccff1ec9 (diff)
downloadlwn-1072c12d7d58b5512b6c05c2268f57d32f1ab76c.tar.gz
lwn-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 '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index e92e6dd1780d..a0a96088c74f 100644
--- a/.clang-format
+++ b/.clang-format
@@ -80,6 +80,7 @@ ForEachMacros:
- 'ax25_uid_for_each'
- '__bio_for_each_bvec'
- 'bio_for_each_bvec'
+ - 'bio_for_each_bvec_all'
- 'bio_for_each_integrity_vec'
- '__bio_for_each_segment'
- 'bio_for_each_segment'