aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2022-10-11 13:17:00 +0100
committerDavid Sterba <[email protected]>2022-12-05 18:00:38 +0100
commita0a5472ad802d99d3fb4b361cc3fb5ea24914ee0 (patch)
tree057a8981c6bd5efee5a58857fff3134af7899974 /tools/perf/scripts/python
parentc902421927ff602954d2ecc7bd6e71b255d29387 (diff)
btrfs: remove checks for a 0 inode number during backref walking
When doing backref walking to determine if an extent is shared, we are testing if the inode number, stored in the 'inum' field of struct share_check, is 0. However that can never be case, since the all instances of the structure are created at btrfs_is_data_extent_shared(), which always initializes it with the inode number from a fs tree (and the number for any inode from any tree can never be 0). So remove the checks. Signed-off-by: Filipe Manana <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions