aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2022-10-11 13:16:59 +0100
committerDavid Sterba <[email protected]>2022-12-05 18:00:38 +0100
commitc902421927ff602954d2ecc7bd6e71b255d29387 (patch)
tree374fc62aa0e5e62d4a0c41971e1e1679ca961e6b /tools/perf/scripts/python/export-to-sqlite.py
parent206c1d32f381ee91ba849a7dcb28728e8c3721b6 (diff)
btrfs: remove checks for a root with id 0 during backref walking
When doing backref walking to determine if an extent is shared, we are testing the root_objectid of the given share_check struct is 0, but that is an impossible case, since btrfs_is_data_extent_shared() always initializes the root_objectid field with the id of the given root, and no root can have an objectid of 0. So remove those checks. Signed-off-by: Filipe Manana <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions