summaryrefslogtreecommitdiff
path: root/src/basic/btrfs-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-06-15 18:11:48 +0200
committerLennart Poettering <lennart@poettering.net>2015-06-15 18:11:48 +0200
commita4c8a5995102144225439c0077bbda5325761986 (patch)
treef66c6c9254ea001a2199776f668f65b98e8931f8 /src/basic/btrfs-util.h
parent0c33502bed83f2775d77c992fe621ec85e75ab2a (diff)
parent90578cbd71812c0f1b6d151c708cb00bbb359053 (diff)
Merge pull request #208 from poettering/btrfs-rec-snapshot
btrfs-util: when snapshotting make sure we don't descent into subvolu…
Diffstat (limited to 'src/basic/btrfs-util.h')
-rw-r--r--src/basic/btrfs-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/btrfs-util.h b/src/basic/btrfs-util.h
index a7eb895c93..8632c3638c 100644
--- a/src/basic/btrfs-util.h
+++ b/src/basic/btrfs-util.h
@@ -61,6 +61,7 @@ int btrfs_subvol_snapshot(const char *old_path, const char *new_path, BtrfsSnaps
int btrfs_subvol_set_read_only_fd(int fd, bool b);
int btrfs_subvol_set_read_only(const char *path, bool b);
int btrfs_subvol_get_read_only_fd(int fd);
+int btrfs_subvol_get_id(int fd, const char *subvolume, uint64_t *ret);
int btrfs_subvol_get_id_fd(int fd, uint64_t *ret);
int btrfs_subvol_get_info_fd(int fd, BtrfsSubvolInfo *info);
int btrfs_subvol_get_quota_fd(int fd, BtrfsQuotaInfo *quota);