libbtrfsutil: add btrfs_util_subvolume_info()
authorOmar Sandoval <osandov@fb.com>
Thu, 18 Jan 2018 21:33:02 +0000 (13:33 -0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 6 Mar 2018 10:28:36 +0000 (11:28 +0100)
commit0d36261bd54a93b1b1b616bdd32d33b3f4278f09
treeb292e0e8fed29b1ec9eb031fa09427f764ca85cb
parent8b87811f945bec2a0681334030ed51af1e4828f6
libbtrfsutil: add btrfs_util_subvolume_info()

This gets the the information in `btrfs subvolume show` from the root
item.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
libbtrfsutil/btrfsutil.h
libbtrfsutil/python/btrfsutilpy.h
libbtrfsutil/python/module.c
libbtrfsutil/python/subvolume.c
libbtrfsutil/python/tests/test_subvolume.py
libbtrfsutil/subvolume.c