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:
ee12402
)
to get Lustre built with 2.6.3+mm4, LTIME_S(dentry->d_inode->i_size) is not correct
author
hitao
<hitao>
Fri, 26 Mar 2004 08:33:13 +0000
(08:33 +0000)
committer
hitao
<hitao>
Fri, 26 Mar 2004 08:33:13 +0000
(08:33 +0000)
lustre/obdfilter/filter_lvb.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter_lvb.c
b/lustre/obdfilter/filter_lvb.c
index
51a4579
..
9206a7c
100644
(file)
--- a/
lustre/obdfilter/filter_lvb.c
+++ b/
lustre/obdfilter/filter_lvb.c
@@
-145,7
+145,7
@@
static int filter_lvbo_update(struct ldlm_resource *res, struct lustre_msg *m,
if (IS_ERR(dentry))
GOTO(out, rc = PTR_ERR(dentry));
- if (
LTIME_S(dentry->d_inode->i_size)
> lvb->lvb_size || !increase) {
+ if (
dentry->d_inode->i_size
> lvb->lvb_size || !increase) {
CDEBUG(D_DLMTRACE, "res: "LPU64" updating lvb size from disk: "
LPU64" -> %llu\n", res->lr_name.name[0],
lvb->lvb_size, dentry->d_inode->i_size);