From 99588a998dea5df9f104b72c716a0d1c0c1258f0 Mon Sep 17 00:00:00 2001 From: nikita Date: Sun, 15 Oct 2006 18:58:19 +0000 Subject: [PATCH] mdt: another "uninitialized mdt_thread_info" fix. --- lustre/mdt/mdt_handler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 91c5108..9a8510e 100644 --- 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); -- 1.8.3.1