Btrfs-progs: move printing subvol list outside of btrfs_list_subvols
authorAnand Jain <anand.jain@oracle.com>
Fri, 1 Feb 2013 07:56:20 +0000 (15:56 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 1 Feb 2013 15:55:04 +0000 (16:55 +0100)
commit93b3fd3879305acd70625306fd37c4df4ea1587d
tree7c7310325a6d03453d1cbfdabdf87542e9c1cb4d
parent8c2b1be4282aa3e8cf2bf40bd18f124fdecdda33
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>
btrfs-list.c
btrfs-list.h
cmds-subvolume.c