From: ericm Date: Wed, 16 Sep 2009 19:08:04 +0000 (+0000) Subject: branch: b_release_1_8_1 X-Git-Tag: v1_8_1_1~30 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4c92470e66511a5d33173f0ff55891e28f32b9b7;p=fs%2Flustre-release.git branch: b_release_1_8_1 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 2471b3e..1421406 100644 --- a/lustre/mgs/mgs_handler.c +++ b/lustre/mgs/mgs_handler.c @@ -667,6 +667,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); }