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:
eea49f3
)
clear memory before unpacking reint request.
author
huanghua
<huanghua>
Wed, 12 Jul 2006 06:40:01 +0000
(06:40 +0000)
committer
huanghua
<huanghua>
Wed, 12 Jul 2006 06:40:01 +0000
(06:40 +0000)
lustre/mdt/mdt_lib.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_lib.c
b/lustre/mdt/mdt_lib.c
index
3838868
..
2873cde
100644
(file)
--- a/
lustre/mdt/mdt_lib.c
+++ b/
lustre/mdt/mdt_lib.c
@@
-236,6
+236,8
@@
int mdt_reint_unpack(struct mdt_thread_info *info, __u32 op)
ENTRY;
if (op < REINT_MAX && mdt_reint_unpackers[op] != NULL) {
+ memset(&info->mti_rr, 0, sizeof info->mti_rr);
+ memset(&info->mti_attr, 0, sizeof info->mti_attr);
info->mti_rr.rr_opcode = op;
rc = mdt_reint_unpackers[op](info);
} else {