From c14067d386170bb6d2cc26607e20f5564641ad61 Mon Sep 17 00:00:00 2001 From: ericm <ericm> Date: Tue, 12 May 2009 20:36:38 +0000 Subject: [PATCH] branch: HEAD 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 0df7efc9e0..394fcb4a81 100644 --- a/lustre/mgs/mgs_handler.c +++ b/lustre/mgs/mgs_handler.c @@ -774,6 +774,10 @@ out: 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); } -- GitLab