[Devel] [PATCH 3/3 v2 RHEL7] ve: cleanup in function ve_get_release_agent_path
Valeriy Vdovin
valeriy.vdovin at virtuozzo.com
Thu Oct 29 14:00:44 MSK 2020
Signed-off-by: Valeriy Vdovin <valeriy.vdovin at virtuozzo.com>
---
kernel/ve/ve.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/ve/ve.c b/kernel/ve/ve.c
index f61b1fe..482d658 100644
--- a/kernel/ve/ve.c
+++ b/kernel/ve/ve.c
@@ -226,6 +226,7 @@ const char *ve_get_release_agent_path(struct cgroup *cgroot)
struct per_cgroot_data *data;
struct cgroup_rcu_string *str;
struct ve_struct *ve;
+
ve = rcu_dereference(cgroot->ve_owner);
if (!ve)
return NULL;
--
1.8.3.1
More information about the Devel
mailing list