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:
d917261
)
mdt: another "uninitialized mdt_thread_info" fix.
author
nikita
<nikita>
Sun, 15 Oct 2006 18:58:19 +0000
(18:58 +0000)
committer
nikita
<nikita>
Sun, 15 Oct 2006 18:58:19 +0000
(18:58 +0000)
lustre/mdt/mdt_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdt/mdt_handler.c
b/lustre/mdt/mdt_handler.c
index
91c5108
..
9a8510e
100644
(file)
--- a/
lustre/mdt/mdt_handler.c
+++ b/
lustre/mdt/mdt_handler.c
@@
-1746,6
+1746,8
@@
static void mdt_thread_info_init(struct ptlrpc_request *req,
/* it can be NULL while CONNECT */
if (req->rq_export)
info->mti_mdt = mdt_dev(req->rq_export->exp_obd->obd_lu_dev);
+ else
+ info->mti_mdt = NULL;
req_capsule_init(&info->mti_pill, req, RCL_SERVER,
info->mti_rep_buf_size);
memset(&info->mti_attr, 0, sizeof info->mti_attr);