[Devel] [PATCH 3/3 v2 RHEL7] ve: cleanup in function ve_get_release_agent_path

Kirill Tkhai ktkhai at virtuozzo.com
Thu Oct 29 14:12:30 MSK 2020


On 29.10.2020 14:00, Valeriy Vdovin wrote:
> Signed-off-by: Valeriy Vdovin <valeriy.vdovin at virtuozzo.com>

Reviewed-by: Kirill Tkhai <ktkhai 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;
> 



More information about the Devel mailing list