summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2013-04-30 16:51:58 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-06-14 11:29:18 -0400
commite6d2960582f625ba6e676117019b62aa87425e8f (patch)
treeef7a26fbfd2dbd8ab7891dc9a95d4294846f3271 /fs/btrfs/super.c
parent905d0f564e9c07690c2b4f2508c1d5ed3db6354b (diff)
downloadlinux-e6d2960582f625ba6e676117019b62aa87425e8f.tar.bz2
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>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index f0857e092a3c..107c6e23cbc0 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1733,9 +1733,7 @@ static int __init init_btrfs_fs(void)
btrfs_init_lockdep();
-#ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS
btrfs_test_free_space_cache();
-#endif
printk(KERN_INFO "%s loaded\n", BTRFS_BUILD_VERSION);
return 0;