* [PATCH linux-cr] free ctx->coord_pidns
@ 2010-04-13 0:06 Serge E. Hallyn
[not found] ` <20100413000629.GA23699-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Serge E. Hallyn @ 2010-04-13 0:06 UTC (permalink / raw)
To: Matt Helsley; +Cc: Linux Containers
My first patchset did this, but subsequent revisions dropped
the put_pid_ns...
Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH linux-cr] free ctx->coord_pidns
[not found] ` <20100413000629.GA23699-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2010-04-13 15:39 ` Matt Helsley
0 siblings, 0 replies; 2+ messages in thread
From: Matt Helsley @ 2010-04-13 15:39 UTC (permalink / raw)
To: Serge E. Hallyn; +Cc: Linux Containers
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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> ---
> 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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-13 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-13 0:06 [PATCH linux-cr] free ctx->coord_pidns Serge E. Hallyn
[not found] ` <20100413000629.GA23699-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-04-13 15:39 ` Matt Helsley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.