[Devel] [PATCH VZ10 v4 24/44] fixup! ve/cgroup: Set release_agent_path for root cgroups separately
Vladimir Riabchun
vladimir.riabchun at virtuozzo.com
Wed Jun 3 00:10:42 MSK 2026
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>
---
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 79f1130a6591..b39884f564a1 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) {
--
2.47.1
More information about the Devel
mailing list