Re: Regression in Autofs, 2.6.15-git

From: P. Christeas
Date: Sat Jan 14 2006 - 12:53:14 EST


Well done Ian!
That patch fixes the problem.
That explains the conditions needed to reproduce the oops. Konqueror would
perform a number of lookups (some failing) before requesting the mountpoint
directory.

On Saturday 14 January 2006 7:06 pm, Ian Kent wrote:

> Yes. It's me again.
>
> Could you try this patch please.
>
> --- linux-2.6.15/fs/autofs4/root.c.dumb-nameidata 2006-01-15
> 01:01:26.000000000 +0800 +++ linux-2.6.15/fs/autofs4/root.c 2006-01-15
> 01:02:12.000000000 +0800 @@ -193,6 +193,8 @@ static int
> autofs4_dir_open(struct inode
> if (!empty)
> d_invalidate(dentry);
>
> + nd.dentry = dentry;
> + nd.mnt = mnt;
> nd.flags = LOOKUP_DIRECTORY;
> status = (dentry->d_op->d_revalidate)(dentry, &nd);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/