xref: /linux/fs/btrfs/uuid-tree.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef BTRFS_UUID_TREE_H
4 #define BTRFS_UUID_TREE_H
5 
6 #include <linux/types.h>
7 
8 struct btrfs_trans_handle;
9 struct btrfs_fs_info;
10 
11 int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type,
12 			u64 subid);
13 int btrfs_uuid_tree_remove(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type,
14 			u64 subid);
15 int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info);
16 
17 #endif
18