LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Clem Taylor" <clem.taylor@gmail.com>
To: "Ulisses Furquim" <ulissesf@gmail.com>
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, "Amy Griffis" <amy.griffis@hp.com>
Subject: Re: inotify_add_watch() returning ENOSPC in 2.6.24 [watch descriptor leak?]
Date: Thu, 7 Feb 2008 16:24:15 -0500	[thread overview]
Message-ID: <ecb4efd10802071324n3582fdfai3154a3a488ade2fd@mail.gmail.com> (raw)
In-Reply-To: <d23110170802071054s6fef54c9q182a9ed2e180052@mail.gmail.com>

On Feb 7, 2008 1:54 PM, Ulisses Furquim <ulissesf@gmail.com> 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

  reply	other threads:[~2008-02-07 21:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-06  1:49 Clem Taylor
2008-02-06  9:51 ` Andrew Morton
2008-02-06 19:40   ` Clem Taylor
2008-02-07  3:04     ` Amy Griffis
2008-02-07 18:54     ` Ulisses Furquim
2008-02-07 21:24       ` Clem Taylor [this message]
2008-02-07 21:44         ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ecb4efd10802071324n3582fdfai3154a3a488ade2fd@mail.gmail.com \
    --to=clem.taylor@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=amy.griffis@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ulissesf@gmail.com \
    --subject='Re: inotify_add_watch() returning ENOSPC in 2.6.24 [watch descriptor leak?]' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).