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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Nadia.Derbey@xxxxxxxx (Nadia.Derbey@xxxxxxxx):
> [ 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@xxxxxxxx>
> 
> ---
>  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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux