Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79556c3d authored by Stefan Behrens's avatar Stefan Behrens Committed by Chris Mason
Browse files

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: default avatarStefan Behrens <sbehrens@giantdisaster.de>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.cz>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
parent cef21937
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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