Unionfs: Pass lowernd to lower ->revalidate function
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 23 Mar 2007 00:09:07 +0000 (20:09 -0400)
committerErez_Zadok <ezk@cs.sunysb.edu>
Mon, 23 Jul 2007 00:50:25 +0000 (20:50 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
fs/unionfs/dentry.c

index b08842fab1710d691d4c7609ae9539250f0b480c..9eb143dff820eaf008e5c967d60685b40f2ee2bc 100644 (file)
@@ -150,8 +150,7 @@ static int __unionfs_d_revalidate_one(struct dentry *dentry, struct nameidata *n
                if (!hidden_dentry || !hidden_dentry->d_op
                    || !hidden_dentry->d_op->d_revalidate)
                        continue;
-
-               if (!hidden_dentry->d_op->d_revalidate(hidden_dentry, nd))
+               if (!hidden_dentry->d_op->d_revalidate(hidden_dentry, &lowernd))
                        valid = 0;
        }