Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef BTRFS_UUID_TREE_H
4#define BTRFS_UUID_TREE_H
5
6int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, u8 *uuid, u8 type,
7 u64 subid);
8int btrfs_uuid_tree_remove(struct btrfs_trans_handle *trans, u8 *uuid, u8 type,
9 u64 subid);
10int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info);
11
12#endif
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
8struct btrfs_trans_handle;
9struct btrfs_fs_info;
10
11int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type,
12 u64 subid);
13int btrfs_uuid_tree_remove(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type,
14 u64 subid);
15int btrfs_uuid_tree_iterate(struct btrfs_fs_info *fs_info);
16int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info);
17int btrfs_uuid_scan_kthread(void *data);
18
19#endif