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

Konstantin Khorenko khorenko at virtuozzo.com
Thu May 28 12:41:12 MSK 2020


The commit is pushed to "branch-rh8-4.18.0-80.1.2.vz8.3.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-80.1.2.vz8.3.9
------>
commit 8ac05deaee614afeb6c927c5ba25ade11d503de9
Author: Valeriy.Vdovin <valeriy.vdovin at virtuozzo.com>
Date:   Thu May 28 12:41:11 2020 +0300

    fs/ext4: removed FS_VIRTUALIZED flag from 'ext3' mode of ext4 module
    
    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>
    
    khorenko@: this flag allows to mount ext3 fs inside a Container
    if a Container has proper permissions for a device to be mounted.
    In vz7 we never allowed it, we don't test it, so don't see any
    advantages of enabling it in vz8. We can change this of course upon
    request.
---
 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");


More information about the Devel mailing list