btrfs-progs/libbtrfs
David Sterba 48be3ad5b3 btrfs-progs: libbtrfs: use btrfs_subvolid_resolve for id->path resolution
There are two functions for resolving subvolume id path, but one is less
convenient and pulls a lot of dependencies. This is
btrfs_list_path_for_root, where the idea is to have the whole tree of
subvolumes and query it as needed.

For simple path resolution we already have btrfs_subvolid_resolve and
it's also in the public API, so we can use it and drop the other one.
This in turn allows to drop btrfs-list.o from build dependencies.

Signed-off-by: David Sterba <dsterba@suse.com>
2021-10-08 20:46:35 +02:00
..
send-stream.c btrfs-progs: libbtrfs: make own copy of lookup_path_rootid 2021-10-08 20:46:35 +02:00
send-stream.h btrfs-progs: libbtrfs: make own copy of lookup_path_rootid 2021-10-08 20:46:35 +02:00
send-utils.c btrfs-progs: libbtrfs: use btrfs_subvolid_resolve for id->path resolution 2021-10-08 20:46:35 +02:00
send-utils.h