diff options
author | Anand Jain <anand.jain@oracle.com> | 2025-01-01 19:06:37 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-01-13 14:53:21 +0100 |
commit | bb4715e967cf3b2eb8550eda73886208f1fc805d (patch) | |
tree | cc6c536d96d0b3e5bd932c02dcd1a6ef6cd2ffb0 /fs/btrfs | |
parent | btrfs: add read policy to set a preferred device (diff) | |
download | linux-bb4715e967cf3b2eb8550eda73886208f1fc805d.tar.xz linux-bb4715e967cf3b2eb8550eda73886208f1fc805d.zip |
btrfs: print status of experimental mode when loading module
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:
Btrfs loaded, experimental=on, debug=on, assert=on, zoned=yes, fsverity=yes
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/super.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index f6eaaf20229d..5157037a0048 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -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 |