Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262306AbVBVNY7 (ORCPT ); Tue, 22 Feb 2005 08:24:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262303AbVBVNY7 (ORCPT ); Tue, 22 Feb 2005 08:24:59 -0500 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 X-Comment-To: Jan Blunck To: Jan Blunck Cc: Alex Tomas , Alexander Viro , Linux-Kernel Mailing List , linux-fsdevel Subject: Re: [RFC] pdirops: vfs patch References: <1109073273.421b1d7923204@webmail.tu-harburg.de> <1109077222.421b2ce6739f8@webmail.tu-harburg.de> From: Alex Tomas Organization: HOME Date: Tue, 22 Feb 2005 16:23:01 +0300 In-Reply-To: <1109077222.421b2ce6739f8@webmail.tu-harburg.de> (Jan Blunck's message of "Tue, 22 Feb 2005 14:00:22 +0100") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 624 Lines: 17 >>>>> 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 - 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/