Josef Bacik 7097a941bf 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>
2022-01-07 14:18:24 +01:00
..
2021-09-02 09:21:27 -07:00
2022-01-07 14:18:23 +01:00
2021-06-22 14:11:57 +02:00
2021-06-22 14:11:57 +02:00
2021-11-26 11:24:32 -08:00
2021-08-23 13:19:09 +02:00
2022-01-07 14:18:23 +01:00
2021-10-29 12:38:43 +02:00
2021-10-26 19:08:05 +02:00
2022-01-03 15:09:47 +01:00
2022-01-07 14:18:23 +01:00
2021-11-08 16:55:21 -08:00