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:
e595a69
)
return time to client.
author
huanghua
<huanghua>
Tue, 8 Aug 2006 08:16:17 +0000
(08:16 +0000)
committer
huanghua
<huanghua>
Tue, 8 Aug 2006 08:16:17 +0000
(08:16 +0000)
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
40d62f0
..
d353d39
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-173,7
+173,8
@@
void mdt_pack_attr2body(struct mdt_body *b, const struct lu_attr *attr,
{
b->valid |= OBD_MD_FLCTIME | OBD_MD_FLUID |
OBD_MD_FLGID | OBD_MD_FLTYPE |
- OBD_MD_FLMODE | OBD_MD_FLNLINK | OBD_MD_FLGENER;
+ OBD_MD_FLMODE | OBD_MD_FLNLINK |
+ OBD_MD_FLATIME | OBD_MD_FLMTIME ; /* added by huanghua */
if (!S_ISREG(attr->la_mode))
b->valid |= OBD_MD_FLSIZE | OBD_MD_FLBLOCKS | OBD_MD_FLATIME |