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:
5b170a6
)
- fix sending wrong attributes... Are there more of these?
author
braam
<braam>
Thu, 22 Aug 2002 05:00:39 +0000
(
05:00
+0000)
committer
braam
<braam>
Thu, 22 Aug 2002 05:00:39 +0000
(
05:00
+0000)
lustre/mdc/mdc_reint.c
patch
|
blob
|
history
diff --git
a/lustre/mdc/mdc_reint.c
b/lustre/mdc/mdc_reint.c
index
2356e17
..
c811bd6
100644
(file)
--- a/
lustre/mdc/mdc_reint.c
+++ b/
lustre/mdc/mdc_reint.c
@@
-108,8
+108,7
@@
int mdc_create(struct lustre_handle *conn,
name, namelen, NULL, 0);
if (S_ISREG(mode)) {
- tmp = lustre_msg_buf(req->rq_reqmsg, 2);
- memcpy(tmp, smd, smd->lmd_easize);
+ lov_packmd(lustre_msg_buf(req->rq_reqmsg, 2), smd);
} else if (S_ISLNK(mode)) {
tmp = lustre_msg_buf(req->rq_reqmsg, 2);
LOGL0(tgt, tgtlen, tmp);