Commit ea3dc7d2 authored by David Sterba's avatar David Sterba

btrfs: print if fsverity support is built in when loading module

As fsverity support depends on a config option, print that at module
load time like we do for similar features.
Reviewed-by: default avatarAnand Jain <anand.jain@oracle.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 70524253
...@@ -2566,6 +2566,11 @@ static void __init btrfs_print_mod_info(void) ...@@ -2566,6 +2566,11 @@ static void __init btrfs_print_mod_info(void)
", zoned=yes" ", zoned=yes"
#else #else
", zoned=no" ", zoned=no"
#endif
#ifdef CONFIG_FS_VERITY
", fsverity=yes"
#else
", fsverity=no"
#endif #endif
; ;
pr_info("Btrfs loaded, crc32c=%s%s\n", crc32c_impl(), options); pr_info("Btrfs loaded, crc32c=%s%s\n", crc32c_impl(), options);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment