From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Tomas Subject: Re: [RFC] pdirops: vfs patch Date: Wed, 23 Feb 2005 16:55:14 +0300 Message-ID: References: <1109073273.421b1d7923204@webmail.tu-harburg.de> <1109077222.421b2ce6739f8@webmail.tu-harburg.de> <1109079718.421b36a621d16@webmail.tu-harburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alex Tomas , Alexander Viro , Linux-Kernel Mailing List , linux-fsdevel Received: from [83.102.214.158] ([83.102.214.158]:50618 "EHLO gw.home.net") by vger.kernel.org with ESMTP id S261295AbVBWN5F (ORCPT ); Wed, 23 Feb 2005 08:57:05 -0500 To: Jan Blunck In-Reply-To: <1109079718.421b36a621d16@webmail.tu-harburg.de> (Jan Blunck's message of "Tue, 22 Feb 2005 14:41:58 +0100") Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org >>>>> Jan Blunck (JB) writes: JB> Nope, d_alloc() is setting d_flags to DCACHE_UNHASHED. Therefore it is not found JB> by __d_lookup() until it is rehashed which is implicit done by ->lookup(). that means we can have two processes allocated dentry for same name. they'll call ->lookup() each against own dentry, fill them and hash. so, we'll get two equal dentries. is that OK? thanks, Alex