all of them were considered, v5 sent out.
Thanks, Anand
- path = argv[1];
+ switch (flag BTRFS_BLOCK_GROUP_TYPE_MASK) {
+ case BTRFS_BLOCK_GROUP_DATA:
+ return data;
+ case BTRFS_BLOCK_GROUP_SYSTEM:
+ return system;
+ case
On Fri, Sep 06, 2013 at 05:37:52PM +0800, Anand Jain wrote:
+static char *group_type_str(u64 flag)
{
- struct btrfs_ioctl_space_args *sargs, *sargs_orig;
- u64 count = 0, i;
- int ret;
- int fd;
- int e;
- char *path;
- DIR *dirstream = NULL;
-
- if
This is a prepatory work for the following btrfs fi show command
fixes. So that we have a function get_df to get the fs sizes
v4:
fixes checkpatch.pl errors as suggested by Wang
v3:
accepts Zach review comments
v2:
combined the other patches as below and rebase
btrfs-progs: get string for the