diff options
author | 2025-07-01 22:45:47 +0100 | |
---|---|---|
committer | 2025-07-22 00:09:20 +0200 | |
commit | e560afc1a83ddcbb8b49cce544c10572458bf2e4 (patch) | |
tree | 1d0f961cd55b06bcb4887b52e2b1c2aeaac8983e /tools/perf/scripts/python | |
parent | btrfs: reduce size of struct tree_mod_elem (diff) | |
download | wireguard-linux-e560afc1a83ddcbb8b49cce544c10572458bf2e4.tar.xz wireguard-linux-e560afc1a83ddcbb8b49cce544c10572458bf2e4.zip |
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')
0 files changed, 0 insertions, 0 deletions