From: Erez_Zadok Date: Thu, 6 Sep 2007 04:42:56 +0000 (-0400) Subject: Unionfs: cache-coherency fix for is_newer_lower X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=c28ee8ec629ccd823854905ea0feb3ec41d802f1;p=unionfs-latest.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 1891df913a20..e46a53e6f7ff 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 */ } /*