Btrfs-progs: add function btrfs_get_subvol to get root_info of a subvol
authorAnand Jain <anand.jain@oracle.com>
Fri, 1 Feb 2013 07:56:23 +0000 (15:56 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 1 Feb 2013 15:55:05 +0000 (16:55 +0100)
commit2d2c9cef4b9f405535e072e82f54bbbcec76cc68
tree59674b530405df27d65d6ae28b4dde2869737ab4
parent1999aae995dd9a5c17fa40316d618585b8b7674f
Btrfs-progs: add function btrfs_get_subvol to get root_info of a subvol

We need a function which can get the root_info of a given
subvol. This is in preparation to add support for the show
sub-cli.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
btrfs-list.c
btrfs-list.h