diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-10-26 15:08:28 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:46 +0100 |
commit | c7a03b524d30382ed45883cd27906678e6a0dada (patch) | |
tree | 515a9979b7547d0196ac9f3a881e4d6d547b768d /fs/btrfs/uuid-tree.h | |
parent | 7c8ede16280586c72c36af6604985d714b84a32c (diff) | |
download | lwn-c7a03b524d30382ed45883cd27906678e6a0dada.tar.gz lwn-c7a03b524d30382ed45883cd27906678e6a0dada.zip |
btrfs: move uuid tree prototypes to uuid-tree.h
Move these out of ctree.h into uuid-tree.h to cut down on the code in
ctree.h.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/uuid-tree.h')
-rw-r--r-- | fs/btrfs/uuid-tree.h | 12 |
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 000000000000..5350c87fe2ca --- /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 |