Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964944AbYBGVZt (ORCPT ); Thu, 7 Feb 2008 16:25:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933265AbYBGVYV (ORCPT ); Thu, 7 Feb 2008 16:24:21 -0500 Received: from mu-out-0910.google.com ([209.85.134.188]:3001 "EHLO mu-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934912AbYBGVYS (ORCPT ); Thu, 7 Feb 2008 16:24:18 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=m4ERo11CXILYpDZ3sxlsMrUqInwTzIRFTN6oF8jI6FyUgEibEEFZPm1BkNY4dkrcHNIgOkkMwN+H2HCQg0lUSTH/z9MLHWOjcj0+yzJj0I6wSKVBVp4t85r9bgLdkzc3HUQRel8iGBTQAlID8Qg+YHzgGXH5MO6/PAGMcCah01I= Message-ID: Date: Thu, 7 Feb 2008 16:24:15 -0500 From: "Clem Taylor" To: "Ulisses Furquim" Subject: Re: inotify_add_watch() returning ENOSPC in 2.6.24 [watch descriptor leak?] Cc: "Andrew Morton" , linux-kernel@vger.kernel.org, "Amy Griffis" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080206015103.9a0f4069.akpm@linux-foundation.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 633 Lines: 14 On Feb 7, 2008 1:54 PM, Ulisses Furquim 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/