aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2013-09-03 15:25:27 +0200
committerChris Mason <chris.mason@fusionio.com>2013-09-21 10:58:56 -0400
commit79556c3d882a848c8faabddc487b033c4e78f7c5 (patch)
tree7e3b538e8fca6e71808326db11381bc17f0912ba /fs
parentcef2193729595686f787c5858aad69b4369de757 (diff)
btrfs: show compiled-in config features at module load time
We want to know if there are debugging features compiled in, this may affect performance. The message is printed before the sanity checks. (This commit message is a copy of David Sterba's commit message when he introduced btrfs_print_info()). Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/super.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 3aab10ce63e..58cb83f23b1 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1762,6 +1762,9 @@ static void btrfs_print_info(void)
#ifdef CONFIG_BTRFS_DEBUG
", debug=on"
#endif
+#ifdef CONFIG_BTRFS_ASSERT
+ ", assert=on"
+#endif
#ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY
", integrity-checker=on"
#endif