[PATCH -cryo 1/1] Correctly close the semundo procfile after restarting the undo list
[ 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@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; } -- _______________________________________________ Containers mailing list Containers@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers
Re: [PATCH -cryo 1/1] Correctly close the semundo procfile after restarting the undo list
Quoting Nadia.Derbey@bull.net (Nadia.Derbey@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@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@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/containers