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:
8e95b12
)
branch: b_release_1_8_1
author
ericm
<ericm>
Wed, 16 Sep 2009 19:08:04 +0000
(19:08 +0000)
committer
ericm
<ericm>
Wed, 16 Sep 2009 19:08:04 +0000
(19:08 +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
2471b3e
..
1421406
100644
(file)
--- 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);
}