xref: /linux/fs/btrfs/orphan.h (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef BTRFS_ORPHAN_H
4 #define BTRFS_ORPHAN_H
5 
6 #include <linux/types.h>
7 
8 struct btrfs_trans_handle;
9 struct btrfs_root;
10 
11 int btrfs_insert_orphan_item(struct btrfs_trans_handle *trans,
12 			     struct btrfs_root *root, u64 offset);
13 int btrfs_del_orphan_item(struct btrfs_trans_handle *trans,
14 			  struct btrfs_root *root, u64 offset);
15 
16 #endif
17