lkml.org 
[lkml]   [2008]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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?


\
 
 \ /
  Last update: 2008-06-03 12:55    [W:0.108 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site