From: wangdi Date: Sun, 15 May 2005 17:07:11 +0000 (+0000) Subject: Branch: HEAD X-Git-Tag: 1.4.10~1149 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=53cc2efd9f8bf196ed9550a0bace690b58c91964;p=fs%2Flustre-release.git Branch: HEAD Should return 0, if the return value of mds_postrecov_common > 0 --- diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index fbc6155..4d30ebf 100644 --- 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: