[Devel] [PATCH VZ8] fs/ext4: removed FS_VIRTUALIZED flag from 'ext3' mode of ext4 module

Valeriy Vdovin valeriy.vdovin at virtuozzo.com
Wed May 27 18:34:52 MSK 2020


From: "Valeriy.Vdovin" <valeriy.vdovin at virtuozzo.com>

FS_VIRTUALIZED flag makes a registered filesystem visible in container.
ext3 is part of ext4 module that is run with untested set of flags.

Signed-off-by: Valeriy.Vdovin <valeriy.vdovin at virtuozzo.com>
---
 fs/ext4/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 870593557a06..324ad7680763 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -134,7 +134,7 @@ static struct file_system_type ext3_fs_type = {
 	.name		= "ext3",
 	.mount		= ext4_mount,
 	.kill_sb	= kill_block_super,
-	.fs_flags	= FS_REQUIRES_DEV | FS_VIRTUALIZED,
+	.fs_flags	= FS_REQUIRES_DEV,
 };
 MODULE_ALIAS_FS("ext3");
 MODULE_ALIAS("ext3");
-- 
2.18.2



More information about the Devel mailing list