Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6992139
)
branch: HEAD
author
ericm
<ericm>
Tue, 12 May 2009 20:36:38 +0000
(20:36 +0000)
committer
ericm
<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
patch
|
blob
|
history
diff --git
a/lustre/mgs/mgs_handler.c
b/lustre/mgs/mgs_handler.c
index
0df7efc
..
394fcb4
100644
(file)
--- 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);
}