Btrfs-progs: move btrfs_fsck_reinit_root to cmds-check.c
authorEric Sandeen <sandeen@redhat.com>
Fri, 26 Apr 2013 21:06:05 +0000 (16:06 -0500)
committerDavid Sterba <dsterba@suse.cz>
Fri, 9 Aug 2013 12:32:28 +0000 (14:32 +0200)
commit14b53c07367bef243404cf9794586ccd03977f24
tree6351e7f56a9560ff8ee8f9b384610a8bdb64181d
parenta3e5eeb94c5ae524ca5af9b39d63f21810a173f1
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>
cmds-check.c
ctree.c
ctree.h