From: Erez_Zadok Date: Fri, 16 Nov 2007 18:46:30 +0000 (-0500) Subject: Unionfs: cache-coherency fix for is_newer_lower X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=a0ca39ee5f2dab51da9d52eda9b197cf2f372a7a;p=unionfs-odf.git Unionfs: cache-coherency fix for is_newer_lower Signed-off-by: Erez Zadok --- diff --git a/fs/unionfs/dentry.c b/fs/unionfs/dentry.c index cdc1f94f53..4a5b551563 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 */ } /*