commit | faf3a98918aa5f14a29e0d246e194be58b9357f0 | [log] [tgz] |
---|---|---|
author | Ian Kent <raven@themaw.net> | Sat Jan 14 13:20:37 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sat Jan 14 18:25:19 2006 -0800 |
tree | 019fc8c909704e6f242de3f84f968db3cdcf8401 | |
parent | 7c7dce9209161eb260cdf9e9172f72c3a02379e6 [diff] |
[PATCH] autofs4 oops fix We forgot to initialise a couple of nameidata fields. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/fs/autofs4/root.c b/fs/autofs4/root.c index e93a7ae..62d8d4a 100644 --- a/fs/autofs4/root.c +++ b/fs/autofs4/root.c
@@ -195,6 +195,8 @@ if (!empty) d_invalidate(dentry); + nd.dentry = dentry; + nd.mnt = mnt; nd.flags = LOOKUP_DIRECTORY; status = (dentry->d_op->d_revalidate)(dentry, &nd);