mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-21 20:36:50 +00:00
btrfs-progs: remove unused btrfs_list_get_path_rootid
All callers now use lookup_path_rootid. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
03650851c5
commit
fbd2a3bf9c
11
btrfs-list.c
11
btrfs-list.c
@ -1942,14 +1942,3 @@ int btrfs_list_parse_filter_string(char *opt_arg,
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int btrfs_list_get_path_rootid(int fd, u64 *treeid)
|
||||
{
|
||||
int ret;
|
||||
|
||||
ret = lookup_path_rootid(fd, treeid);
|
||||
if (ret < 0)
|
||||
error("cannot resolve rootid for path: %m");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -166,7 +166,6 @@ int btrfs_list_subvols_print(int fd, struct btrfs_list_filter_set *filter_set,
|
||||
int btrfs_list_find_updated_files(int fd, u64 root_id, u64 oldest_gen);
|
||||
int btrfs_list_get_default_subvolume(int fd, u64 *default_id);
|
||||
char *btrfs_list_path_for_root(int fd, u64 root);
|
||||
int btrfs_list_get_path_rootid(int fd, u64 *treeid);
|
||||
int btrfs_get_subvol(int fd, struct root_info *the_ri);
|
||||
int btrfs_get_toplevel_subvol(int fd, struct root_info *the_ri);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user