sysfs content is generated at runtime. Signed-off-by: Nicolas Boichat <drink...@chromium.org> ---
fs/sysfs/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index e747c135c1d1..7e367ae5edc1 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c @@ -91,7 +91,7 @@ static struct file_system_type sysfs_fs_type = { .name = "sysfs", .init_fs_context = sysfs_init_fs_context, .kill_sb = sysfs_kill_sb, - .fs_flags = FS_USERNS_MOUNT, + .fs_flags = FS_USERNS_MOUNT | FS_GENERATED_CONTENT, }; int __init sysfs_init(void) -- 2.30.0.478.g8a0d178c01-goog