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