aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2022-11-21 10:23:23 +0000
committerDavid Sterba <[email protected]>2022-12-05 17:00:59 +0000
commit3a8d1db341b93e65fa76051ab833b3640842b6eb (patch)
tree1274a71566548f662343cedeff661bbf4134251c /tools/perf/scripts/python
parentbtrfs: replace strncpy() with strscpy() (diff)
downloadkernel-3a8d1db341b93e65fa76051ab833b3640842b6eb.tar.gz
kernel-3a8d1db341b93e65fa76051ab833b3640842b6eb.zip
btrfs: unify overwrite_item() and do_overwrite_item()
After commit 193df6245704 ("btrfs: search for last logged dir index if it's not cached in the inode"), there are no more callers of do_overwrite_item(), except overwrite_item(). Originally both used to be the same function, but were split in commit 086dcbfa50d3 ("btrfs: insert items in batches when logging a directory when possible"), as there was the need to execute all logic of overwrite_item() but skip the tree search, since in the context of directory logging we already had a path with a leaf to copy data from. So unify them again as there is no more need to have them split. Reviewed-by: Josef Bacik <[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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions