The commit is pushed to "branch-rh10-6.12.0-55.52.1.5.x.vz10-ovz" and will 
appear at [email protected]:openvz/vzkernel.git
after rh10-6.12.0-55.52.1.5.29.vz10
------>
commit 725281a66ba41dec3fb9bcc9af50190c0d0267b8
Author: Vladimir Riabchun <[email protected]>
Date:   Tue Jun 2 21:10:35 2026 +0000

    fixup! ve/vfs: introduce "fs.odirect_enable" sysctl and disable it by 
default
    
    ve0 doesn't exist when !CONFIG_VE.
    
    https://virtuozzo.atlassian.net/browse/VSTOR-130116
    
    Feature: !CONFIG_VE build
    Signed-off-by: Vladimir Riabchun <[email protected]>
    Reviewed-by: Vasileios Almpanis <[email protected]>
---
 fs/sysctls.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/sysctls.c b/fs/sysctls.c
index dfe2782f58f4a..3c68cbdf69144 100644
--- a/fs/sysctls.c
+++ b/fs/sysctls.c
@@ -28,6 +28,7 @@ static struct ctl_table fs_shared_sysctls[] = {
                .extra1         = SYSCTL_ZERO,
                .extra2         = SYSCTL_MAXOLDUID,
        },
+#ifdef CONFIG_VE
        {
                .procname       = "odirect_enable",
                .data           = &ve0.odirect_enable,
@@ -35,6 +36,7 @@ static struct ctl_table fs_shared_sysctls[] = {
                .mode           = 0644 | S_ISVTX,
                .proc_handler   = proc_dointvec_virtual,
        },
+#endif
 };
 
 static int __init init_fs_sysctls(void)
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to