aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2023-09-22 11:37:26 +0100
committerDavid Sterba <[email protected]>2023-10-12 16:44:12 +0200
commit8befc61cbba2d4567122d400542da8900a352971 (patch)
treed5790fa054f39c0c917fa07f6775d77d215510f2 /scripts/gdb/linux/utils.py
parent0a325e620e1a0e266c083a06343497b376705a9d (diff)
btrfs: remove redundant root argument from fixup_inode_link_count()
The root argument for fixup_inode_link_count() always matches the root of the given inode, so remove the root argument and get it from the inode argument. This also applies to the helpers count_inode_extrefs() and count_inode_refs() used by fixup_inode_link_count() - they don't need the root argument, as it always matches the root of the inode passed to them. Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions