From 53cc2efd9f8bf196ed9550a0bace690b58c91964 Mon Sep 17 00:00:00 2001 From: wangdi Date: Sun, 15 May 2005 17:07:11 +0000 Subject: [PATCH] Branch: HEAD Should return 0, if the return value of mds_postrecov_common > 0 --- lustre/mds/mds_lov.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- 1.8.3.1