GIT: unionfs2-2.6.27.y: Unionfs: Pass lowernd to lower ->revalidate function

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:16:01 EDT 2010


commit 61fd5072ee6558d1477030efe27f0d0ca8edb7bb
Author: Erez Zadok <ezk at cs.sunysb.edu>
Date:   Thu Mar 22 20:09:07 2007 -0400

    Unionfs: Pass lowernd to lower ->revalidate function
    
    Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>
    Signed-off-by: Josef 'Jeff' Sipek <jsipek at cs.sunysb.edu>

diff --git a/fs/unionfs/dentry.c b/fs/unionfs/dentry.c
index b08842f..9eb143d 100644
--- a/fs/unionfs/dentry.c
+++ b/fs/unionfs/dentry.c
@@ -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;
 	}
 


More information about the unionfs-cvs mailing list