From 046e91caf78e044f3b4871bb63baec6bc48b6342 Mon Sep 17 00:00:00 2001 From: ericm Date: Wed, 16 Sep 2009 19:09:45 +0000 Subject: [PATCH] branch: b1_8 mgs initialize export with exp_connecting set. b=18849 r=rread r=fanyong --- lustre/mgs/mgs_handler.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/mgs/mgs_handler.c b/lustre/mgs/mgs_handler.c index 9d41f09..2a3f1d7 100644 --- a/lustre/mgs/mgs_handler.c +++ b/lustre/mgs/mgs_handler.c @@ -666,6 +666,10 @@ int mgs_handle(struct ptlrpc_request *req) static inline int mgs_init_export(struct obd_export *exp) { + spin_lock(&exp->exp_lock); + exp->exp_connecting = 1; + spin_unlock(&exp->exp_lock); + return ldlm_init_export(exp); } -- 1.8.3.1