X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fbtrfs-util.h;h=a7eb895c93f348ac7dcd8b6dd24da872de9faf1b;hb=ce5792dac67c5ae5656f1f9665b777d44af4cb35;hp=02e46e30eaf8735eb301cef25bb10fc82833f111;hpb=ef0698793cd19e82ce8e94e89f1c6461ec2f1dce;p=elogind.git diff --git a/src/shared/btrfs-util.h b/src/shared/btrfs-util.h index 02e46e30e..a7eb895c9 100644 --- a/src/shared/btrfs-util.h +++ b/src/shared/btrfs-util.h @@ -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);