Re: [PATCH 5/6] tracefs: Add FS_GENERATED_CONTENT to filesystem flags
From: Steven Rostedt
Date: Fri Feb 12 2021 - 09:48:50 EST
On Fri, 12 Feb 2021 12:44:04 +0800
Nicolas Boichat <drinkcat@xxxxxxxxxxxx> wrote:
> tracefs content is generated at runtime.
>
> Signed-off-by: Nicolas Boichat <drinkcat@xxxxxxxxxxxx>
Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
-- Steve
> ---
>
> fs/tracefs/inode.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c
> index 4b83cbded559..89980312c7a3 100644
> --- a/fs/tracefs/inode.c
> +++ b/fs/tracefs/inode.c
> @@ -308,6 +308,7 @@ static struct file_system_type trace_fs_type = {
> .name = "tracefs",
> .mount = trace_mount,
> .kill_sb = kill_litter_super,
> + .fs_flags = FS_GENERATED_CONTENT,
> };
> MODULE_ALIAS_FS("tracefs");
>