[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080603105258.GV28946@ZenIV.linux.org.uk>
Date: Tue, 3 Jun 2008 11:52:58 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: jesper@...gh.cc, torvalds@...ux-foundation.org,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: Linux 2.6.26-rc4
On Tue, Jun 03, 2008 at 12:45:33PM +0200, Miklos Szeredi wrote:
> I think it must be autofs4 doing something weird. Like this in
> autofs4_lookup_unhashed():
>
> /*
> * Make the rehashed dentry negative so the VFS
> * behaves as it should.
> */
> if (inode) {
> dentry->d_inode = NULL;
Lovely. If we ever step into that with somebody else (no matter who)
holding a reference to that dentry, we are certainly well and truly
buggered. It's not just mount(2) - everything in the tree assumes that
holding a reference to positive dentry guarantees that it remains
positive.
Ian?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists