summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-05-29 16:12:45 +0100
committerDavid Sterba <dsterba@suse.com>2025-07-21 23:53:29 +0200
commit1ed0cfc89e992112b5e5f5677c17081e0eee688d (patch)
tree17ffbe5d07f176b0d010bfd1fb38908ca41cc77c /tools/perf/scripts/python/gecko.py
parent0ef4c6120e253f3c7ea2308527a94bc3312f8fa9 (diff)
btrfs: use btrfs_del_item() at del_logged_dentry()
There's no need to use btrfs_delete_one_dir_name() at del_logged_dentry() because we are processing a dir index key which can contain only a single name, unlike dir item keys which can encode multiple names in case of name hash collisions. We have explicitly looked up for a dir index key by calling btrfs_lookup_dir_index_item() and we don't log dir item keys anymore (since commit 339d03542484 ("btrfs: only copy dir index keys when logging a directory")). So simplify and use btrfs_del_item() directly instead of btrfs_delete_one_dir_name(). Reviewed-by: Boris Burkov <boris@bur.io> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions