From: Erez_Zadok Date: Thu, 6 Sep 2007 04:42:56 +0000 (-0400) Subject: Unionfs: cache-coherency fix for is_newer_lower X-Git-Tag: unionfs-2.5.9.2~294 X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=4b28a2d166d509acebf8c3063090db5e61a52360;p=unionfs-2.6.38.y.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 1891df913a2..e46a53e6f7f 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 */ } /*