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:
a3323a5
)
cl_object_glimpse(): do not use loop control variable after the loop has terminated.
author
nikita
<nikita>
Tue, 11 Nov 2008 11:48:35 +0000
(11:48 +0000)
committer
nikita
<nikita>
Tue, 11 Nov 2008 11:48:35 +0000
(11:48 +0000)
lustre/obdclass/cl_object.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/cl_object.c
b/lustre/obdclass/cl_object.c
index
98f7c09
..
84d14af
100644
(file)
--- a/
lustre/obdclass/cl_object.c
+++ b/
lustre/obdclass/cl_object.c
@@
-298,7
+298,7
@@
int cl_object_glimpse(const struct lu_env *env, struct cl_object *obj,
break;
}
}
break;
}
}
- LU_OBJECT_HEADER(D_DLMTRACE, env,
&obj->co_lu
,
+ LU_OBJECT_HEADER(D_DLMTRACE, env,
lu_object_top(top)
,
"size: "LPU64" mtime: "LPU64" atime: "LPU64" "
"ctime: "LPU64" blocks: "LPU64"\n",
lvb->lvb_size, lvb->lvb_mtime, lvb->lvb_atime,
"size: "LPU64" mtime: "LPU64" atime: "LPU64" "
"ctime: "LPU64" blocks: "LPU64"\n",
lvb->lvb_size, lvb->lvb_mtime, lvb->lvb_atime,