summaryrefslogtreecommitdiff
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-12-04 01:18:08 +0300
committerDavid Sterba <dsterba@suse.com>2022-01-07 16:18:24 +0300
commit7097a941bf75ed1f632342937984a24f0b1d76a4 (patch)
tree0abacacbc2ab65d855eecc4fb26f29b59a17efd6 /fs/cachefiles
parent2adc75d61203a7d7d0178e1c5402e1f792ac4636 (diff)
downloadlinux-7097a941bf75ed1f632342937984a24f0b1d76a4.tar.xz
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/cachefiles')
0 files changed, 0 insertions, 0 deletions