diff options
author | David Sterba <dsterba@suse.com> | 2016-10-31 11:11:50 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-11-09 13:47:29 +0100 |
commit | f4556df015b84bd2c4979a55427152fe68882fb3 (patch) | |
tree | 5ddac2e135d5ff1f5be6d446bf23c453441a9754 /btrfs-list.c | |
parent | 2c7dc8e21014001abd2629d6b7654af3ee6ad855 (diff) |
btrfs-progs: use enum for list layout type
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'btrfs-list.c')
-rw-r--r-- | btrfs-list.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/btrfs-list.c b/btrfs-list.c index 5d9a79ab..02b30b52 100644 --- a/btrfs-list.c +++ b/btrfs-list.c @@ -1457,7 +1457,7 @@ static void print_all_volume_info_tab_head(void) } static void print_all_volume_info(struct root_lookup *sorted_tree, - int layout, const char *raw_prefix) + enum btrfs_list_layout layout, const char *raw_prefix) { struct rb_node *n; struct root_info *entry; @@ -1504,7 +1504,8 @@ static int btrfs_list_subvols(int fd, struct root_lookup *root_lookup) int btrfs_list_subvols_print(int fd, struct btrfs_list_filter_set *filter_set, struct btrfs_list_comparer_set *comp_set, - int layout, int full_path, const char *raw_prefix) + enum btrfs_list_layout layout, int full_path, + const char *raw_prefix) { struct root_lookup root_lookup; struct root_lookup root_sort; |