summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/uuid-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/uuid-tree.h')
-rw-r--r--fs/btrfs/uuid-tree.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/btrfs/uuid-tree.h b/fs/btrfs/uuid-tree.h
new file mode 100644
index 0000000000..5350c87fe2
--- /dev/null
+++ b/fs/btrfs/uuid-tree.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef BTRFS_UUID_TREE_H
+#define BTRFS_UUID_TREE_H
+
+int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, u8 *uuid, u8 type,
+ u64 subid);
+int btrfs_uuid_tree_remove(struct btrfs_trans_handle *trans, u8 *uuid, u8 type,
+ u64 subid);
+int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info);
+
+#endif