Re: [PATCH] file locking memory leak

From: Martin Josefsson
Date: Sun Sep 14 2003 - 03:49:10 EST


On Sun, 2003-09-14 at 10:30, Wade wrote:
> Matthew Wilcox wrote:
> > This patch fixes a memory leak in the file locking code. Each attempt
> > to unlock a file would result in the leak of a file lock. Many thanks
> > to Martin Josefsson for providing the testcase which enabled me to figure
> > out the problem.
> >
>
> Is this a problem for 2.4 as well?

No, it was introduced in the locking-rewrite in 2.5

A new patch which fixes another leak as well has been produced by Willy,
now I can't reproduce any leaks at all. I assume it will be merged in
-mm or in Linus tree when he gets back.

--
/Martin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/