From: wangdi Date: Sun, 1 Oct 2006 13:44:16 +0000 (+0000) Subject: Branch: b_new_cmd X-Git-Tag: v1_8_0_110~486^2~741 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=2fcc42fd9a7a184b73a7a948eaaabf8b5485eb9d;p=fs%2Flustre-release.git Branch: b_new_cmd disable some code we do not need currently --- 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 :