[Devel] [PATCH RHEL10 COMMIT] fixup! ve/cgroup: Set release_agent_path for root cgroups separately

Konstantin Khorenko khorenko at virtuozzo.com
Fri Jun 5 21:32:15 MSK 2026


The commit is pushed to "branch-rh10-6.12.0-55.52.1.5.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.52.1.5.29.vz10
------>
commit 2ac4f37a2a6329937cba9b1a0963df24fe4ecfff
Author: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Date:   Tue Jun 2 21:10:42 2026 +0000

    fixup! ve/cgroup: Set release_agent_path for root cgroups separately
    
    Unused get_ve result in cgroup_release_agent_write.
    
    https://virtuozzo.atlassian.net/browse/VSTOR-130116
    
    Feature: !CONFIG_VE build
    Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
    Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
---
 kernel/cgroup/cgroup-v1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cgroup/cgroup-v1.c b/kernel/cgroup/cgroup-v1.c
index 79f1130a6591d..b39884f564a1b 100644
--- a/kernel/cgroup/cgroup-v1.c
+++ b/kernel/cgroup/cgroup-v1.c
@@ -586,7 +586,7 @@ static ssize_t cgroup_release_agent_write(struct kernfs_open_file *of,
 		if (root_cgrp == cgrp)
 			ve = rcu_dereference(root_cgrp->ve_owner);
 	}
-	get_ve(ve);
+	(void) get_ve(ve);
 	rcu_read_unlock();
 
 	if (ve) {


More information about the Devel mailing list