Re: inotify_add_watch() returning ENOSPC in 2.6.24 [watchdescriptor leak?]

From: Andrew Morton
Date: Thu Feb 07 2008 - 16:44:59 EST


On Thu, 7 Feb 2008 16:24:15 -0500
"Clem Taylor" <clem.taylor@xxxxxxxxx> wrote:

> On Feb 7, 2008 1:54 PM, Ulisses Furquim <ulissesf@xxxxxxxxx> wrote:
> > Ok, I had a go with it and found the problem. We weren't releasing
> > one-shot watches because the test for them was wrong. We're using the
> > event's mask to test for one-shot watches when we should've been using
> > the watch's mask.
>
> Thanks, this patch seems to fix the problem.
>

Awesome. Thanks, guys.
--
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/