summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/orphan.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/orphan.h')
-rw-r--r--fs/btrfs/orphan.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/btrfs/orphan.h b/fs/btrfs/orphan.h
new file mode 100644
index 0000000000..3faab5cbb5
--- /dev/null
+++ b/fs/btrfs/orphan.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef BTRFS_ORPHAN_H
+#define BTRFS_ORPHAN_H
+
+int btrfs_insert_orphan_item(struct btrfs_trans_handle *trans,
+ struct btrfs_root *root, u64 offset);
+int btrfs_del_orphan_item(struct btrfs_trans_handle *trans,
+ struct btrfs_root *root, u64 offset);
+
+#endif