VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Al Viro <viro@zeniv.linux.org.uk> 2012-06-10 16:03:43 -0400 committer: Al Viro <viro@zeniv.linux.org.uk> 2012-07-14 16:34:14 +0400 commit: 0b728e1911cbe6e24020727c3870628b9653f32a parent: fa3c56bbda6c2ac2a57d96ba501dbe85cccd312b
Commit Summary:
stop passing nameidata * to ->d_revalidate()
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/fs/hfs/sysdep.c b/fs/hfs/sysdep.c
index 19cf291eb91f..91b91fd3a901 100644
--- a/fs/hfs/sysdep.c
+++ b/fs/hfs/sysdep.c
@@ -13,12 +13,12 @@
 
 /* dentry case-handling: just lowercase everything */
 
-static int hfs_revalidate_dentry(struct dentry *dentry, struct nameidata *nd)
+static int hfs_revalidate_dentry(struct dentry *dentry, unsigned int flags)
 {
 	struct inode *inode;
 	int diff;
 
-	if (nd->flags & LOOKUP_RCU)
+	if (flags & LOOKUP_RCU)
 		return -ECHILD;
 
 	inode = dentry->d_inode;