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:
849cfb5
)
mdt: mdt_thread_info_init(): oops, last commit was too fast: zeroing is still required.
author
nikita
<nikita>
Sun, 15 Oct 2006 02:16:04 +0000
(
02:16
+0000)
committer
nikita
<nikita>
Sun, 15 Oct 2006 02:16:04 +0000
(
02: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
758e506
..
493f441
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-1732,6
+1732,11
@@
static void mdt_thread_info_init(struct ptlrpc_request *req,
LASSERT(info->mti_env != req->rq_svc_thread->t_env);
+ /*
+ * XXX Leave zeroing here, unless everything is fixed.
+ */
+ memset(info, 0, sizeof *info);
+
info->mti_rep_buf_nr = ARRAY_SIZE(info->mti_rep_buf_size);
for (i = 0; i < ARRAY_SIZE(info->mti_rep_buf_size); i++)
info->mti_rep_buf_size[i] = -1;