libbtrfsutil: add btrfs_util_is_subvolume() and btrfs_util_subvolume_id()
authorOmar Sandoval <osandov@fb.com>
Thu, 18 Jan 2018 20:49:55 +0000 (12:49 -0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 6 Mar 2018 10:28:36 +0000 (11:28 +0100)
commit92d4035074dd5234f1c3fd263947dde1f9bb288e
treed54816a235d76725e36e5efdebc67752ed51b25b
parent1b2775bdb068a1faee631a81aab72ba5aeda7d4f
libbtrfsutil: add btrfs_util_is_subvolume() and btrfs_util_subvolume_id()

These are the most trivial helpers in the library and will be used to
implement several of the more involved functions.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Makefile
libbtrfsutil/python/btrfsutilpy.h
libbtrfsutil/python/module.c
libbtrfsutil/python/setup.py
libbtrfsutil/python/subvolume.c [new file with mode: 0644]
libbtrfsutil/python/tests/test_subvolume.py [new file with mode: 0644]
libbtrfsutil/subvolume.c [new file with mode: 0644]