summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-10-26 15:08:41 -0400
committerDavid Sterba <dsterba@suse.com>2022-12-05 18:00:47 +0100
commitaa5d3003ddee8d7c5c517db072f888e114ff1529 (patch)
treedf3337a8b076768c353f0252bc08ebe5070bf038 /fs/btrfs/ctree.h
parent7f0add250f829248281e1745d92648f72192a8f4 (diff)
downloadlinux-aa5d3003ddee8d7c5c517db072f888e114ff1529.tar.gz
linux-aa5d3003ddee8d7c5c517db072f888e114ff1529.tar.bz2
linux-aa5d3003ddee8d7c5c517db072f888e114ff1529.zip
btrfs: move orphan prototypes into orphan.h
Move these out of ctree.h into orphan.h to cut down on code in ctree.h. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index c32f6b6ae972..5649f8907984 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -676,12 +676,6 @@ static inline int btrfs_next_item(struct btrfs_root *root, struct btrfs_path *p)
}
int btrfs_leaf_free_space(struct extent_buffer *leaf);
-/* orphan.c */
-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);
-
/*
* Get the correct offset inside the page of extent buffer.
*