From: Anand Jain <anand.jain@oracle.com>
To: David Sterba <dsterba@suse.com>, linux-btrfs@vger.kernel.org
Cc: boris@bur.io
Subject: Re: [PATCH] btrfs: print if fsverity support is built in when loading module
Date: Thu, 29 Jul 2021 22:29:32 +0800 [thread overview]
Message-ID: <12540898-56d3-53e5-df01-21189acb40e5@oracle.com> (raw)
In-Reply-To: <20210728162209.29019-1-dsterba@suse.com>
On 29/07/2021 00:22, David Sterba wrote:
> As fsverity support depends on a config option, print that at module
> load time like we do for similar features.
So similarly /sys/fs/btrfs/features/fsverity may be required too?
> Signed-off-by: David Sterba <dsterba@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Thanks.
> ---
> 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);
>
next prev parent reply other threads:[~2021-07-29 14:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2021-07-29 15:56 ` David Sterba
2021-08-05 0:07 ` Anand Jain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12540898-56d3-53e5-df01-21189acb40e5@oracle.com \
--to=anand.jain@oracle.com \
--cc=boris@bur.io \
--cc=dsterba@suse.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.