diff options
| author | Filipe Manana <fdmanana@suse.com> | 2022-09-19 17:06:30 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2022-09-29 18:08:30 +0300 |
| commit | f3109e33bb0a523f70a3394b51c878dbedb60528 (patch) | |
| tree | ab32c5e8dad49a3a72f015495c90eb7bf04e99a2 /tools/perf/util/trace-event-scripting.c | |
| parent | 4c0c8cfc8433457ed545e67df0d689d2e0de0746 (diff) | |
| download | linux-f3109e33bb0a523f70a3394b51c878dbedb60528.tar.xz | |
btrfs: use extent_map_end() at btrfs_drop_extent_map_range()
Instead of open coding the end offset calculation of an extent map, use
the helper extent_map_end() and cache its result in a local variable,
since it's used several times.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
