projects
/
unionfs-2.6.31.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13f4443
)
Unionfs: cache-coherency fix for is_newer_lower
author
Erez_Zadok
<ezk@cs.sunysb.edu>
Thu, 6 Sep 2007 04:42:56 +0000
(
00:42
-0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 6 Aug 2010 03:00:55 +0000
(23:00 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/dentry.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/dentry.c
b/fs/unionfs/dentry.c
index 1891df913a20a638b84497b4c56deecc41d87529..e46a53e6f7ff5980f9d3f1778b3c4307b1476769 100644
(file)
--- 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 */
}
/*