projects
/
unionfs-odf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c9827
)
Unionfs: cache-coherency fix for is_newer_lower
author
Erez_Zadok
<ezk@cs.sunysb.edu>
Fri, 16 Nov 2007 18:46:30 +0000
(13:46 -0500)
committer
Rachita Kothiyal
<rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:05 +0000
(19:03 -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 cdc1f94f53ef5ec0034d8e7549e5a1e7a13e842b..4a5b551563489d750d2f112820b45ef747c9983d 100644
(file)
--- 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 */
}
/*