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