From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Tomas Subject: Re: [RFC] pdirops: vfs patch Date: Tue, 22 Feb 2005 16:23:01 +0300 Message-ID: References: <1109073273.421b1d7923204@webmail.tu-harburg.de> <1109077222.421b2ce6739f8@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]:2217 "EHLO gw.home.net") by vger.kernel.org with ESMTP id S262304AbVBVNYt (ORCPT ); Tue, 22 Feb 2005 08:24:49 -0500 To: Jan Blunck In-Reply-To: <1109077222.421b2ce6739f8@webmail.tu-harburg.de> (Jan Blunck's message of "Tue, 22 Feb 2005 14:00:22 +0100") Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org >>>>> Jan Blunck (JB) writes: JB> i_sem does NOT protect the dcache. Also not in real_lookup(). The lock must be JB> acquired for ->lookup() and because we might sleep on i_sem, we have to get it JB> early and check for repopulation of the dcache. dentry is part of dcache, right? i_sem protects dentry from being returned with incomplete data inside, right? thanks, Alex