All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] btrfs: print if fsverity support is built in when loading module
@ 2021-07-28 16:22 David Sterba
  2021-07-29 14:29 ` Anand Jain
  0 siblings, 1 reply; 4+ messages in thread
From: David Sterba @ 2021-07-28 16:22 UTC (permalink / raw)
  To: linux-btrfs; +Cc: boris, David Sterba

As fsverity support depends on a config option, print that at module
load time like we do for similar features.

Signed-off-by: David Sterba <dsterba@suse.com>
---
 fs/btrfs/super.c | 5 +++++
 1 file changed, 5 insertions(+)

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);
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-05  0:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-28 16:22 [PATCH] btrfs: print if fsverity support is built in when loading module David Sterba
2021-07-29 14:29 ` Anand Jain
2021-07-29 15:56   ` David Sterba
2021-08-05  0:07     ` Anand Jain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.