[Devel] Re: [PATCH -cryo 1/1] Correctly close the semundo procfile after restarting the undo list

Serge E. Hallyn serue at us.ibm.com
Mon Jun 30 07:52:09 PDT 2008


Quoting Nadia.Derbey at bull.net (Nadia.Derbey at bull.net):
> [ PATCH 01/01 ]
> 
> This is a trivial patch that correctly closes the semundo file after restoring
> the semundo list.
> 
> Signed-off-by: Nadia Derbey <Nadia.Derbey at bull.net>
> 
> ---
>  cr.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: cryo-001/cr.c
> ===================================================================
> --- cryo-001.orig/cr.c	2008-06-27 17:25:57.000000000 +0200
> +++ cryo-001/cr.c	2008-06-30 11:15:41.000000000 +0200
> @@ -1447,7 +1447,7 @@ static int restore_semundo(int fd, pid_t
> 
>  	Free(semid);
>  	Free(semadj);
> -	PT_CLOSE(pid, fd);
> +	PT_CLOSE(pid, procfd);
>  	return ret;
>  }

Applied to git tree, thanks.

-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list