chiark / gitweb /
Classify processes from sessions into cgroups
[elogind.git] / src / shared / btrfs-util.h
index e3ad98750fd4f9cfc60341805fd2a0393ba25043..a7eb895c93f348ac7dcd8b6dd24da872de9faf1b 100644 (file)
@@ -46,9 +46,11 @@ typedef struct BtrfsQuotaInfo {
 typedef enum BtrfsSnapshotFlags {
         BTRFS_SNAPSHOT_FALLBACK_COPY = 1,
         BTRFS_SNAPSHOT_READ_ONLY = 2,
+        BTRFS_SNAPSHOT_RECURSIVE = 4,
 } BtrfsSnapshotFlags;
 
-int btrfs_is_snapshot(int fd);
+int btrfs_is_filesystem(int fd);
+int btrfs_is_subvol(int fd);
 
 int btrfs_subvol_make(const char *path);
 int btrfs_subvol_make_label(const char *path);