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:
6add041
)
Branch: HEAD
author
wangdi
<wangdi>
Sun, 15 May 2005 17:07:11 +0000
(17:07 +0000)
committer
wangdi
<wangdi>
Sun, 15 May 2005 17:07:11 +0000
(17:07 +0000)
Should return 0, if the return value of mds_postrecov_common > 0
lustre/mds/mds_lov.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_lov.c
b/lustre/mds/mds_lov.c
index
fbc6155
..
4d30ebf
100644
(file)
--- a/
lustre/mds/mds_lov.c
+++ b/
lustre/mds/mds_lov.c
@@
-311,8
+311,11
@@
int mds_dt_connect(struct obd_device *obd, char * lov_name)
* set_nextid(). The class driver can help us here, because
* it can use the obd_recovering flag to determine when the
* the OBD is full available. */
- if (!obd->obd_recovering)
+ if (!obd->obd_recovering)
{
rc = mds_postrecov_common(obd);
+ if (rc > 0)
+ rc = 0;
+ }
RETURN(rc);
err_reg: