Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756825AbYFCKs1 (ORCPT ); Tue, 3 Jun 2008 06:48:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752995AbYFCKsS (ORCPT ); Tue, 3 Jun 2008 06:48:18 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:44664 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752669AbYFCKsR (ORCPT ); Tue, 3 Jun 2008 06:48:17 -0400 Date: Tue, 3 Jun 2008 11:48:14 +0100 From: Al Viro To: Miklos Szeredi Cc: jesper@krogh.cc, raven@themaw.net, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: Linux 2.6.26-rc4 Message-ID: <20080603104814.GU28946@ZenIV.linux.org.uk> References: <47107.195.41.66.226.1212486572.squirrel@mail.jabbernet.dk> <20080603095713.GR28946@ZenIV.linux.org.uk> <5440.195.41.66.226.1212487482.squirrel@mail.jabbernet.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 22 On Tue, Jun 03, 2008 at 12:37:59PM +0200, Miklos Szeredi wrote: > > http://www.kerneloops.org/raw.php?rawid=12419&msgid= > > > > Looks like a negative inode in S_ISDIR(mnt->mnt_root->d_inode->i_mode), > > which would be due to NFS not properly filling in its root dentry? > > On second thought it's S_ISDIR(path->dentry->d_inode->i_mode), which > means it's an autofs thing. It is path->dentry, all right, but the question is how'd it get that way. Look: we got that nd.path.dentry out of path_lookup() with LOOKUP_FOLLOW as flags. Then we'd passed it through do_new_mount() to do_add_mount() without changes. And went through /* Something was mounted here while we slept */ while (d_mountpoint(nd->path.dentry) && follow_down(&nd->path.mnt, &nd->path.dentry)) ; -- 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/