btrfs: move ifdef around sanity checks out of init_btrfs_fs
Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
This commit is contained in:

committed by
Josef Bacik

parent
905d0f564e
commit
e6d2960582
@@ -3490,4 +3490,6 @@ out:
|
||||
test_msg("Free space cache tests finished\n");
|
||||
}
|
||||
#undef test_msg
|
||||
#endif /* CONFIG_BTRFS_FS_RUN_SANITY_TESTS */
|
||||
#else /* !CONFIG_BTRFS_FS_RUN_SANITY_TESTS */
|
||||
void btrfs_test_free_space_cache(void) {}
|
||||
#endif /* !CONFIG_BTRFS_FS_RUN_SANITY_TESTS */
|
||||
|
Reference in New Issue
Block a user