aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2022-10-11 13:17:01 +0100
committerDavid Sterba <[email protected]>2022-12-05 18:00:39 +0100
commitceb707da9ad92ad3a5251dc13844034ded06cb3d (patch)
treeca949f905638cb25a7979b9d94d568d669f74cc7 /tools/perf/scripts/python/bin
parenta0a5472ad802d99d3fb4b361cc3fb5ea24914ee0 (diff)
btrfs: directly pass the inode to btrfs_is_data_extent_shared()
Currently we pass a root and an inode number as arguments for btrfs_is_data_extent_shared() and the inode number is always from an inode that belongs to that root (it wouldn't make sense otherwise). In every context that we call btrfs_is_data_extent_shared() (fiemap only), we have an inode available, so directly pass the inode to the function instead of a root and inode number. This reduces the number of parameters and it makes the function's signature conform to most other functions we have. Signed-off-by: Filipe Manana <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions