struct extent_buffer *node,
struct extent_buffer *parent);
-/* uuid-tree.c */
-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);
-
/* orphan.c */
int btrfs_insert_orphan_item(struct btrfs_trans_handle *trans,
struct btrfs_root *root, u64 offset);
#include "extent-tree.h"
#include "root-tree.h"
#include "defrag.h"
+#include "uuid-tree.h"
#define BTRFS_SUPER_FLAG_SUPP (BTRFS_HEADER_FLAG_WRITTEN |\
BTRFS_HEADER_FLAG_RELOC |\
#include "defrag.h"
#include "dir-item.h"
#include "file-item.h"
+#include "uuid-tree.h"
struct btrfs_iget_args {
u64 ino;
#include "root-tree.h"
#include "defrag.h"
#include "dir-item.h"
+#include "uuid-tree.h"
#ifdef CONFIG_64BIT
/* If we have a 32-bit userspace and 64-bit kernel, then the UAPI
#include "root-tree.h"
#include "defrag.h"
#include "dir-item.h"
+#include "uuid-tree.h"
static struct kmem_cache *btrfs_trans_handle_cachep;
#include "print-tree.h"
#include "fs.h"
#include "accessors.h"
+#include "uuid-tree.h"
static void btrfs_uuid_to_key(u8 *uuid, u8 type, struct btrfs_key *key)
{
--- /dev/null
+/* 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
#include "zoned.h"
#include "fs.h"
#include "accessors.h"
+#include "uuid-tree.h"
static struct bio_set btrfs_bioset;