Skip to content

Commit

Permalink
btrfs: print if fsverity support is built in when loading module
Browse files Browse the repository at this point in the history
As fsverity support depends on a config option, print that at module
load time like we do for similar features.

Reviewed-by: Anand Jain <[email protected]>
Signed-off-by: David Sterba <[email protected]>
  • Loading branch information
kdave committed Aug 23, 2021
1 parent 7052425 commit ea3dc7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fs/btrfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ea3dc7d

Please sign in to comment.