Re: inotify_add_watch() returning ENOSPC in 2.6.24 [watch descriptor leak?]
From: Clem Taylor
Date: Thu Feb 07 2008 - 16:25:51 EST
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.
--Clem
--
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/