btrfs-progs: create get_subvol_info()
authorAnand Jain <anand.jain@oracle.com>
Mon, 21 Mar 2016 07:21:04 +0000 (15:21 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 30 Mar 2016 14:25:28 +0000 (16:25 +0200)
commite494f5790fcbe401b4b0d171ae5575991670b790
tree62b7de7e8bba68bc7778ae4df5621df08c24a133
parent8cec21a7ed91e0d4c49f1fbe188622af0586602c
btrfs-progs: create get_subvol_info()

get_subvol_info() is useful as we are adding more features around
subvolume. This function was inline with the function
cmd_subvol_show().

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-subvolume.c
utils.c
utils.h