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 74169fdb76cedf1ee8e2dc01ddbb90d6147c4e75
Author: Vladimir Riabchun <[email protected]>
Date:   Tue Jun 2 21:10:38 2026 +0000

    fixup! ve/cgroup: Set release_agent_path for root cgroups separately
    
    ve0 doesn't exist when !CONFIG_VE, use get_ve0().
    
    https://virtuozzo.atlassian.net/browse/VSTOR-130116
    
    Feature: !CONFIG_VE build
    Signed-off-by: Vladimir Riabchun <[email protected]>
    Reviewed-by: Vasileios Almpanis <[email protected]>
---
 kernel/cgroup/cgroup-v1.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/cgroup/cgroup-v1.c b/kernel/cgroup/cgroup-v1.c
index e4ef76e4bde6e..5c1b6a24ed51f 100644
--- a/kernel/cgroup/cgroup-v1.c
+++ b/kernel/cgroup/cgroup-v1.c
@@ -581,7 +581,7 @@ static ssize_t cgroup_release_agent_write(struct 
kernfs_open_file *of,
        root_cgrp = cgroup_ve_root1(cgrp);
        if (!root_cgrp) {
                if (ve_is_super(get_exec_env()) && cgrp == &cgrp->root->cgrp)
-                       ve = &ve0;
+                       ve = get_ve0();
        } else {
                if (root_cgrp == cgrp)
                        ve = rcu_dereference(root_cgrp->ve_owner);
@@ -612,7 +612,7 @@ static int cgroup_release_agent_show(struct seq_file *seq, 
void *v)
        root_cgrp = cgroup_ve_root1(cgrp);
        if (!root_cgrp) {
                if (ve_is_super(get_exec_env()) && cgrp == &cgrp->root->cgrp)
-                       ve = &ve0;
+                       ve = get_ve0();
        } else {
                if (root_cgrp == cgrp)
                        ve = rcu_dereference(root_cgrp->ve_owner);
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to