From: ericm Date: Wed, 16 Sep 2009 19:09:45 +0000 (+0000) Subject: branch: b1_8 X-Git-Tag: v1_8_2_01~1^2~105 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=046e91caf78e044f3b4871bb63baec6bc48b6342;p=fs%2Flustre-release.git branch: b1_8 mgs initialize export with exp_connecting set. b=18849 r=rread r=fanyong --- 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); }