diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-10-26 15:08:41 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:47 +0100 |
commit | aa5d3003ddee8d7c5c517db072f888e114ff1529 (patch) | |
tree | df3337a8b076768c353f0252bc08ebe5070bf038 /fs/btrfs/orphan.h | |
parent | 7f0add250f829248281e1745d92648f72192a8f4 (diff) |
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/orphan.h')
-rw-r--r-- | fs/btrfs/orphan.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/btrfs/orphan.h b/fs/btrfs/orphan.h new file mode 100644 index 000000000000..3faab5cbb59a --- /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 |