xref: /linux/fs/btrfs/orphan.h (revision 72bea132f3680ee51e7ed2cee62892b6f5121909)
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