Whamcloud - gitweb
branch: HEAD
authorericm <ericm>
Tue, 12 May 2009 20:36:38 +0000 (20:36 +0000)
committerericm <ericm>
Tue, 12 May 2009 20:36:38 +0000 (20:36 +0000)
mgs initialize export with exp_connecting set.
b=18849
r=rread
r=fanyong

lustre/mgs/mgs_handler.c

index 0df7efc..394fcb4 100644 (file)
@@ -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);
 }