From 4c92470e66511a5d33173f0ff55891e28f32b9b7 Mon Sep 17 00:00:00 2001 From: ericm Date: Wed, 16 Sep 2009 19:08:04 +0000 Subject: [PATCH] branch: b_release_1_8_1 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 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); } -- 1.8.3.1