projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c7dce9
)
[PATCH] autofs4 oops fix
author
Ian Kent
<raven@themaw.net>
Sat, 14 Jan 2006 21:20:37 +0000
(13:20 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 15 Jan 2006 02:25:19 +0000
(18:25 -0800)
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>
fs/autofs4/root.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/autofs4/root.c
b/fs/autofs4/root.c
index e93a7ae467c996644a189d5b73d4d538459dd758..62d8d4acb8bbbe75ba0965214808c259c4b1b292 100644
(file)
--- a/
fs/autofs4/root.c
+++ b/
fs/autofs4/root.c
@@
-195,6
+195,8
@@
static int autofs4_dir_open(struct inode *inode, struct file *file)
if (!empty)
d_invalidate(dentry);
+ nd.dentry = dentry;
+ nd.mnt = mnt;
nd.flags = LOOKUP_DIRECTORY;
status = (dentry->d_op->d_revalidate)(dentry, &nd);