[PATCH 5/6] tracefs: Add FS_GENERATED_CONTENT to filesystem flags

From: Nicolas Boichat
Date: Thu Feb 11 2021 - 23:46:53 EST


tracefs content is generated at runtime.

Signed-off-by: Nicolas Boichat <drinkcat@xxxxxxxxxxxx>
---

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

--
2.30.0.478.g8a0d178c01-goog