From 2fcc42fd9a7a184b73a7a948eaaabf8b5485eb9d Mon Sep 17 00:00:00 2001 From: wangdi Date: Sun, 1 Oct 2006 13:44:16 +0000 Subject: [PATCH] Branch: b_new_cmd disable some code we do not need currently --- lustre/mdd/mdd_handler.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lustre/mdd/mdd_handler.c b/lustre/mdd/mdd_handler.c index 16f20d4..4595000 100644 --- a/lustre/mdd/mdd_handler.c +++ b/lustre/mdd/mdd_handler.c @@ -923,7 +923,7 @@ static int mdd_process_config(const struct lu_env *env, out: RETURN(rc); } - +#if 0 static int mdd_lov_set_nextid(const struct lu_env *env, struct mdd_device *mdd) { @@ -945,6 +945,7 @@ static int mdd_cleanup_unlink_llog(const struct lu_env *env, /* XXX: to be implemented! */ return 0; } +#endif static int mdd_recovery_complete(const struct lu_env *env, struct lu_device *d) @@ -957,7 +958,7 @@ static int mdd_recovery_complete(const struct lu_env *env, LASSERT(mdd != NULL); LASSERT(obd != NULL); - +#if 0 /* XXX: Do we need this in new stack? */ rc = mdd_lov_set_nextid(env, mdd); if (rc) { @@ -973,7 +974,7 @@ static int mdd_recovery_complete(const struct lu_env *env, rc); RETURN(rc); } - +#endif obd_notify(obd->u.mds.mds_osc_obd, NULL, (obd->obd_async_recov ? OBD_NOTIFY_SYNC_NONBLOCK : -- 1.8.3.1