Re: [PATCH] fs/notify/inotify: decrement user inotify count on close

From: Alex Riesen
Date: Sun Jul 26 2009 - 11:58:13 EST


On Sun, Jul 26, 2009 at 17:46, Alex Riesen<raa.lkml@xxxxxxxxx> wrote:
> On Thu, Jul 2, 2009 at 14:14, Eric Paris<eparis@xxxxxxxxxx> wrote:
>> On Wed, 2009-07-01 at 21:56 -0700, Keith Packard wrote:
>>> The per-user inotify_devs value is incremented each time a new file is
>>> allocated, but never decremented. This led to inotify_init failing after a
>>> limited number of calls.
>>>
>>> Signed-off-by: Keith Packard <keithp@xxxxxxxxxx>
>>
>> Thanks, I will push to Linus later today, sorry about the regression!
>>
>
> Hmm... Either the patch wasn't enough, or it was broken again.

The bug seem to be known since 2.6.28:

http://bugzilla.kernel.org/show_bug.cgi?id=12754
--
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/