Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262946AbTENWLC (ORCPT ); Wed, 14 May 2003 18:11:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262956AbTENWLC (ORCPT ); Wed, 14 May 2003 18:11:02 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:60806 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S262946AbTENWLA (ORCPT ); Wed, 14 May 2003 18:11:00 -0400 Date: Wed, 14 May 2003 23:23:48 +0100 From: viro@parcelfarce.linux.theplanet.co.uk To: Mikhail Kruk Cc: linux-kernel@vger.kernel.org Subject: Re: possible open/unlink race condition? Message-ID: <20030514222348.GB10374@parcelfarce.linux.theplanet.co.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 464 Lines: 11 On Wed, May 14, 2003 at 05:41:23PM -0400, Mikhail Kruk wrote: > The description of file creation in the process 1 is completely made up, I So it is. ->i_sem is held on parent directory both for creation and removal. - 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/