diff options
author | Filipe Manana <fdmanana@suse.com> | 2025-07-01 22:45:47 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-07-22 00:09:20 +0200 |
commit | e560afc1a83ddcbb8b49cce544c10572458bf2e4 (patch) | |
tree | 1d0f961cd55b06bcb4887b52e2b1c2aeaac8983e /tools/perf/scripts/python/parallel-perf.py | |
parent | aee10fe4e4f6d9e3444b4309ae2187ce4e9fb00f (diff) |
btrfs: set search_commit_root to false in iterate_inodes_from_logical()
There's no point in checking at iterate_inodes_from_logical() if the path
has search_commit_root set, the only caller never sets search_commit_root
to true and it doesn't make sense for it ever to be true for the current
use case (logical_to_ino ioctl). So stop checking for that and since the
only caller allocates the path just for it to be used by
iterate_inodes_from_logical(), move the path allocation into that function.
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/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions