commit 6d7883c6b2b3fada73141f2d3160a8fc1e04c4ae
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date:   Thu Sep 6 00:42:56 2007 -0400

    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 1891df9..e46a53e 100644
--- a/fs/unionfs/dentry.c
+++ b/fs/unionfs/dentry.c
@@ -184,7 +184,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)
 {
@@ -226,7 +226,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

Reply via email to