aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2022-09-19 14:06:30 +0000
committerDavid Sterba <[email protected]>2022-09-29 15:08:30 +0000
commitf3109e33bb0a523f70a3394b51c878dbedb60528 (patch)
treeab32c5e8dad49a3a72f015495c90eb7bf04e99a2 /fs/jbd2/commit.c
parentbtrfs: move btrfs_drop_extent_cache() to extent_map.c (diff)
downloadkernel-f3109e33bb0a523f70a3394b51c878dbedb60528.tar.gz
kernel-f3109e33bb0a523f70a3394b51c878dbedb60528.zip
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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions