summaryrefslogtreecommitdiff
path: root/btrfs-list.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2013-02-01 15:56:20 +0800
committerDavid Sterba <dsterba@suse.cz>2013-02-01 16:55:04 +0100
commit93b3fd3879305acd70625306fd37c4df4ea1587d (patch)
tree7c7310325a6d03453d1cbfdabdf87542e9c1cb4d /btrfs-list.h
parent8c2b1be4282aa3e8cf2bf40bd18f124fdecdda33 (diff)
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.h2
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);