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:
0d5b956
)
fix typo.
author
shadow
<shadow>
Wed, 8 Apr 2009 06:34:29 +0000
(06:34 +0000)
committer
shadow
<shadow>
Wed, 8 Apr 2009 06:34:29 +0000
(06:34 +0000)
Branch b_release_1_8_0
lustre/ldlm/ldlm_lib.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_lib.c
b/lustre/ldlm/ldlm_lib.c
index
f9dd74b
..
9544e3d
100644
(file)
--- a/
lustre/ldlm/ldlm_lib.c
+++ b/
lustre/ldlm/ldlm_lib.c
@@
-390,9
+390,10
@@
int client_connect_import(struct lustre_handle *dlm_handle,
if (rc)
GOTO(out_sem, rc);
- cli->cl_conn_count++;
- if (cli->cl_conn_count > 1)
+ if (cli->cl_conn_count > 0)
GOTO(out_sem, rc = -EALREADY);
+
+ cli->cl_conn_count++;
*exp = class_conn2export(dlm_handle);
if (obd->obd_namespace != NULL)