commit 0a7a1fc73066c1e4e3207c3651da4496c3ae1818
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date: Fri Nov 16 13:46:30 2007 -0500
Unionfs: cache-coherency fix for is_newer_lower
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/dentry.c b/fs/unionfs/dentry.c
index cdc1f94..4a5b551 100644
--- a/fs/unionfs/dentry.c
+++ b/fs/unionfs/dentry.c
@@ -200,7 +200,7 @@ out:
/*
* Determine if the lower inode objects have changed from below the unionfs
- * inode. Return 1 if changed, 0 otherwise.
+ * inode. Return true if changed, false otherwise.
*/
bool is_newer_lower(const struct dentry *dentry)
{
@@ -242,7 +242,7 @@ bool is_newer_lower(const struct dentry *dentry)
return true; /* ctime changed! */
}
}
- return true; /* default: lower is not newer */
+ return false; /* default: lower is not newer */
}
/*
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs