mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
btrfs: expose experimental mode in module information
Commit c9c49e8f157e ("btrfs: split out CONFIG_BTRFS_EXPERIMENTAL from CONFIG_BTRFS_DEBUG") introduces a way to enable or disable experimental features, print its status during module load, like so: Btrfs loaded, experimental=on, debug=on, assert=on, zoned=yes, fsverity=yes Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
2c0cf2b44b
commit
e2f11776f9
@ -2446,6 +2446,9 @@ static __cold void btrfs_interface_exit(void)
|
||||
static int __init btrfs_print_mod_info(void)
|
||||
{
|
||||
static const char options[] = ""
|
||||
#ifdef CONFIG_BTRFS_EXPERIMENTAL
|
||||
", experimental=on"
|
||||
#endif
|
||||
#ifdef CONFIG_BTRFS_DEBUG
|
||||
", debug=on"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user