projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7052425
)
btrfs: print if fsverity support is built in when loading module
author
David Sterba
<dsterba@suse.com>
Wed, 28 Jul 2021 16:10:39 +0000
(18:10 +0200)
committer
David Sterba
<dsterba@suse.com>
Mon, 23 Aug 2021 11:19:09 +0000
(13:19 +0200)
As fsverity support depends on a config option, print that at module
load time like we do for similar features.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/super.c
b/fs/btrfs/super.c
index 2bdc544b4c951df36ce438f48e02de1cdefff042..d444338db3c6a95f987c1d15b25276a740444a2f 100644
(file)
--- 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);