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:
f4d727d
)
Branch HEAD
author
robert.read
<robert.read>
Tue, 1 Dec 2009 20:32:24 +0000
(20:32 +0000)
committer
robert.read
<robert.read>
Tue, 1 Dec 2009 20:32:24 +0000
(20:32 +0000)
b=19669
i=nathan
i=adilger
Fix memcpy bug.
lustre/osd/osd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/osd/osd_handler.c
b/lustre/osd/osd_handler.c
index
edda042
..
b21cac3
100644
(file)
--- a/
lustre/osd/osd_handler.c
+++ b/
lustre/osd/osd_handler.c
@@
-1803,7
+1803,7
@@
static int osd_ea_fid_get(const struct lu_env *env, struct osd_object *obj,
if (rc > 0) {
lustre_lma_swab(mdt_attrs);
- memcpy(fid, &mdt_attrs->lma_self_fid, sizeof(*
mdt_attrs
));
+ memcpy(fid, &mdt_attrs->lma_self_fid, sizeof(*
fid
));
rc = 0;
} else if (rc == -ENODATA) {
osd_igif_get(env, inode, fid);