aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-12-03 17:18:08 -0500
committerDavid Sterba <dsterba@suse.com>2022-01-07 14:18:24 +0100
commit7097a941bf75ed1f632342937984a24f0b1d76a4 (patch)
tree0abacacbc2ab65d855eecc4fb26f29b59a17efd6 /fs/btrfs/free-space-cache.c
parent2adc75d61203a7d7d0178e1c5402e1f792ac4636 (diff)
btrfs: remove found_extent from btrfs_truncate_inode_items
We only set this if we find a normal file extent, del_item == 1, and the file extent points to a real extent and isn't a hole extent. We can use del_item == 1 && extent_start != 0 to get the same information that found_extent provides, so remove this variable and use the other variables instead. Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions