From: David Sterba Date: Wed, 28 Jul 2021 16:10:39 +0000 (+0200) Subject: btrfs: print if fsverity support is built in when loading module X-Git-Tag: microblaze-v5.16~36^2~46 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=ea3dc7d2d1f524eb2a34b6501be38c82be5c7ff1;p=linux-2.6-microblaze.git 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: Anand Jain Signed-off-by: David Sterba --- diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 2bdc544b4c95..d444338db3c6 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -2566,6 +2566,11 @@ static void __init btrfs_print_mod_info(void) ", zoned=yes" #else ", zoned=no" +#endif +#ifdef CONFIG_FS_VERITY + ", fsverity=yes" +#else + ", fsverity=no" #endif ; pr_info("Btrfs loaded, crc32c=%s%s\n", crc32c_impl(), options);