[PATCH linux-cr] free ctx->coord_pidns

Matt Helsley matthltc at us.ibm.com
Tue Apr 13 08:39:44 PDT 2010


On Mon, Apr 12, 2010 at 07:06:29PM -0500, Serge E. Hallyn wrote:
> My first patchset did this, but subsequent revisions dropped
> the put_pid_ns...

Applied, thanks!

Cheers,
	-Matt Helsley

> 
> Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
> ---
>  kernel/checkpoint/sys.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/kernel/checkpoint/sys.c b/kernel/checkpoint/sys.c
> index 997fc44..88b668d 100644
> --- a/kernel/checkpoint/sys.c
> +++ b/kernel/checkpoint/sys.c
> @@ -250,6 +250,8 @@ static void ckpt_ctx_free(struct ckpt_ctx *ctx)
>  	if (ctx->tasks_arr)
>  		task_arr_free(ctx);
> 
> +	if (ctx->coord_pidns)
> +		put_pid_ns(ctx->coord_pidns);
>  	if (ctx->root_nsproxy)
>  		put_nsproxy(ctx->root_nsproxy);
>  	if (ctx->root_task)
> -- 
> 1.6.0.6
> 


More information about the Containers mailing list