[PATCH 4/6] debugfs: Add FS_GENERATED_CONTENT to filesystem flags

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


debugfs content is generated at runtime.

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

fs/debugfs/inode.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index c35249497b9b..2bbc5e6d3041 100644
--- a/fs/debugfs/inode.c
+++ b/fs/debugfs/inode.c
@@ -279,6 +279,7 @@ static struct file_system_type debug_fs_type = {
.name = "debugfs",
.mount = debug_mount,
.kill_sb = kill_litter_super,
+ .fs_flags = FS_GENERATED_CONTENT,
};
MODULE_ALIAS_FS("debugfs");

--
2.30.0.478.g8a0d178c01-goog