diff options
author | Omar Sandoval <[email protected]> | 2019-12-02 17:34:17 -0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-01-20 16:40:53 +0100 |
commit | e62958fce94b30ef6aab99bb1bc49fde7fac73ea (patch) | |
tree | 509491100db697f6a2b1ce737ed477f581fd39c2 /lib/mpi/mpi-mul.c | |
parent | 321f69f86a0fc40203b43659c3a39464f15c2ee9 (diff) |
btrfs: get rid of trivial __btrfs_lookup_bio_sums() wrappers
Currently, we have two wrappers for __btrfs_lookup_bio_sums():
btrfs_lookup_bio_sums_dio(), which is used for direct I/O, and
btrfs_lookup_bio_sums(), which is used everywhere else. The only
difference is that the _dio variant looks up csums starting at the given
offset instead of using the page index, which isn't actually direct
I/O-specific. Let's clean up the signature and return value of
__btrfs_lookup_bio_sums(), rename it to btrfs_lookup_bio_sums(), and get
rid of the trivial helpers.
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: Omar Sandoval <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions