diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-04-26 16:06:05 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-08-09 14:32:28 +0200 |
commit | 14b53c07367bef243404cf9794586ccd03977f24 (patch) | |
tree | 6351e7f56a9560ff8ee8f9b384610a8bdb64181d /ctree.h | |
parent | a3e5eeb94c5ae524ca5af9b39d63f21810a173f1 (diff) |
Btrfs-progs: move btrfs_fsck_reinit_root to cmds-check.c
cmds-check.c contains the only caller of btrfs_fsck_reinit_root;
moving it to the caller's source file gets ctree.c a little
closer to kernelspace, although it does require exporting
add_root_to_dirty_list(), which is not done in kernelspace.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2152,8 +2152,6 @@ int btrfs_check_node(struct btrfs_root *root, int btrfs_check_leaf(struct btrfs_root *root, struct btrfs_disk_key *parent_key, struct extent_buffer *buf); -int btrfs_fsck_reinit_root(struct btrfs_trans_handle *trans, - struct btrfs_root *root, int overwrite); void reada_for_search(struct btrfs_root *root, struct btrfs_path *path, int level, int slot, u64 objectid); struct extent_buffer *read_node_slot(struct btrfs_root *root, @@ -2195,6 +2193,7 @@ int btrfs_realloc_node(struct btrfs_trans_handle *trans, int start_slot, int cache_only, u64 *last_ret, struct btrfs_key *progress); void btrfs_release_path(struct btrfs_root *root, struct btrfs_path *p); +void add_root_to_dirty_list(struct btrfs_root *root); struct btrfs_path *btrfs_alloc_path(void); void btrfs_free_path(struct btrfs_path *p); void btrfs_init_path(struct btrfs_path *p); |