stop passing nameidata * to ->d_revalidate()
Just the lookup flags. Die, bastard, die...
Change-Id: Ie1e6aa84316f14bd9f0a2d297bd5eb32c92c84fd
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/proc/namespaces.c b/fs/proc/namespaces.c
index 08dfd6a..6d2273d 100644
--- a/fs/proc/namespaces.c
+++ b/fs/proc/namespaces.c
@@ -203,7 +203,7 @@
d_set_d_op(dentry, &pid_dentry_operations);
d_add(dentry, inode);
/* Close the race of the process dying before we return the dentry */
- if (pid_revalidate(dentry, NULL))
+ if (pid_revalidate(dentry, 0))
error = NULL;
out:
return error;