Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261407AbVETNkW (ORCPT ); Fri, 20 May 2005 09:40:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261422AbVETNkV (ORCPT ); Fri, 20 May 2005 09:40:21 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:28033 "EHLO parcelfarce.linux.theplanet.co.uk") by vger.kernel.org with ESMTP id S261407AbVETNkT (ORCPT ); Fri, 20 May 2005 09:40:19 -0400 Date: Fri, 20 May 2005 14:40:46 +0100 From: Al Viro To: Neil Horman Cc: linux-kernel@vger.kernel.org Subject: Re: [Patch] vfs: increase scope of critical locked path in fget_light to avoid race Message-ID: <20050520134046.GQ29811@parcelfarce.linux.theplanet.co.uk> References: <20050520132325.GE19229@hmsendeavour.rdu.redhat.com> <20050520133337.GP29811@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050520133337.GP29811@parcelfarce.linux.theplanet.co.uk> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 483 Lines: 9 On Fri, May 20, 2005 at 02:33:38PM +0100, Al Viro wrote: > Er... If we get 1, we *KNOW* who holds the only reference - that's us. > And to change refcount of files_struct you need to hold a reference to or contents - 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/