Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7ac09b
)
to make Lustre build with 2.6.3+mm4 and suse 2.6
author
hitao
<hitao>
Fri, 19 Mar 2004 10:58:58 +0000
(10:58 +0000)
committer
hitao
<hitao>
Fri, 19 Mar 2004 10:58:58 +0000
(10:58 +0000)
lustre/obdfilter/filter_lvb.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter_lvb.c
b/lustre/obdfilter/filter_lvb.c
index
f664e70
..
854b5f7
100644
(file)
--- a/
lustre/obdfilter/filter_lvb.c
+++ b/
lustre/obdfilter/filter_lvb.c
@@
-178,7
+178,7
@@
static int filter_lvbo_update(struct ldlm_resource *res, struct lustre_msg *m,
lvb->lvb_size, dentry->d_inode->i_size);
lvb->lvb_size = dentry->d_inode->i_size;
}
- if (
dentry->d_inode->i_mtime
> lvb->lvb_mtime || !increase) {
+ if (
LTIME_S(dentry->d_inode->i_mtime)
> lvb->lvb_mtime || !increase) {
CDEBUG(D_DLMTRACE, "res: "LPU64" updating lvb mtime from disk: "
LPU64" -> %lu\n", res->lr_name.name[0],
lvb->lvb_mtime, LTIME_S(dentry->d_inode->i_mtime));