chiark / gitweb /
btrfs-util: introduce btrfs_is_filesystem() and make use of it where appropriate
[elogind.git] / src / shared / btrfs-util.h
index 02e46e30eaf8735eb301cef25bb10fc82833f111..a7eb895c93f348ac7dcd8b6dd24da872de9faf1b 100644 (file)
@@ -49,7 +49,8 @@ typedef enum BtrfsSnapshotFlags {
         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);