diff options
author | Omar Sandoval <osandov@fb.com> | 2020-08-21 00:39:53 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-10-07 12:13:17 +0200 |
commit | c9a949af13d6d8983de086d9ecbf34c4c94da73e (patch) | |
tree | c915ea0c581460c4cb778e7ca7434d102c9e4a5d /tools/perf/scripts/python/check-perf-trace.py | |
parent | 8c7d9fe06f5bb87dce356dcc9ea7c003b529e6ba (diff) |
btrfs: send: use btrfs_file_extent_end() in send_write_or_clone()
send_write_or_clone() basically has an open-coded copy of
btrfs_file_extent_end() except that it (incorrectly) aligns to PAGE_SIZE
instead of sectorsize. Fix and simplify the code by using
btrfs_file_extent_end().
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions