summaryrefslogtreecommitdiff
path: root/src/basic/btrfs-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-15 18:37:03 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-15 18:37:03 +0200
commit3f952f92b9f401fbe4c4876541ca145a551df039 (patch)
treea1adba9a06f36e2a0ad5e2661ceac30d7b0983ba /src/basic/btrfs-util.h
parent19833db683c1e197718f00d1d5cb4827ee7897d8 (diff)
btrfs: always remove the per-subvol qgroup when removing a subvol
btrfs doesn't do that automatically, hence let's do that explicitly each time.
Diffstat (limited to 'src/basic/btrfs-util.h')
-rw-r--r--src/basic/btrfs-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/basic/btrfs-util.h b/src/basic/btrfs-util.h
index 8632c3638c..ad7c7009ab 100644
--- a/src/basic/btrfs-util.h
+++ b/src/basic/btrfs-util.h
@@ -86,3 +86,6 @@ int btrfs_resize_loopback(const char *path, uint64_t size, bool grow_only);
int btrfs_subvol_remove(const char *path, bool recursive);
int btrfs_subvol_remove_fd(int fd, const char *subvolume, bool recursive);
+
+int btrfs_qgroup_create(int fd, uint64_t level, uint64_t id);
+int btrfs_qgroup_destroy(int fd, uint64_t level, uint64_t id);