diff options
author | Anand Jain <anand.jain@oracle.com> | 2013-02-01 15:56:20 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-02-01 16:55:04 +0100 |
commit | 93b3fd3879305acd70625306fd37c4df4ea1587d (patch) | |
tree | 7c7310325a6d03453d1cbfdabdf87542e9c1cb4d /btrfs-list.h | |
parent | 8c2b1be4282aa3e8cf2bf40bd18f124fdecdda33 (diff) | |
download | btrfs-progs-93b3fd3879305acd70625306fd37c4df4ea1587d.tar.gz |
Btrfs-progs: move printing subvol list outside of btrfs_list_subvols
To improve the code reuse its better to have btrfs_list_subvols
just return list of subvols witout printing
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Diffstat (limited to 'btrfs-list.h')
-rw-r--r-- | btrfs-list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-list.h b/btrfs-list.h index 658e1ad..e5f19b2 100644 --- a/btrfs-list.h +++ b/btrfs-list.h @@ -99,7 +99,7 @@ int btrfs_list_setup_comparer(struct btrfs_list_comparer_set **comp_set, enum btrfs_list_comp_enum comparer, int is_descending); -int btrfs_list_subvols(int fd, struct btrfs_list_filter_set *filter_set, +int btrfs_list_subvols_print(int fd, struct btrfs_list_filter_set *filter_set, struct btrfs_list_comparer_set *comp_set, int is_tab_result, int full_path); int btrfs_list_find_updated_files(int fd, u64 root_id, u64 oldest_gen); |