Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit faf3a989 authored by Ian Kent's avatar Ian Kent Committed by Linus Torvalds
Browse files

[PATCH] autofs4 oops fix



We forgot to initialise a couple of nameidata fields.

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7c7dce92
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);