diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2012-09-20 19:04:22 +0800 |
---|---|---|
committer | root <root@localhost.localdomain> | 2012-10-04 16:26:33 -0400 |
commit | 0f53cf81f66f4b62f68661f0d5a1a919b1db2686 (patch) | |
tree | b83753d2071dac2fb311c3598c9dcea733123a1f /btrfs-list.h | |
parent | 60d11eca6649700c1e39c19c36c903cad747e775 (diff) | |
download | btrfs-progs-0f53cf81f66f4b62f68661f0d5a1a919b1db2686.tar.gz |
Btrfs-progs: introduce '-t' option into subvolume list command
This patch introduces '-t' option into subvolume list command. By this
option, we can output the result as a table.
Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Diffstat (limited to 'btrfs-list.h')
-rw-r--r-- | btrfs-list.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/btrfs-list.h b/btrfs-list.h index 26a5c17..9d3687e 100644 --- a/btrfs-list.h +++ b/btrfs-list.h @@ -98,7 +98,8 @@ int btrfs_list_setup_comparer(struct btrfs_list_comparer_set **comp_set, int is_descending); int btrfs_list_subvols(int fd, struct btrfs_list_filter_set *filter_set, - struct btrfs_list_comparer_set *comp_set); + struct btrfs_list_comparer_set *comp_set, + int is_tab_result); 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); |