X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmgs%2Fmgs_llog.c;h=135e78b9ccee73d806c33f07c2d093fe16f6440f;hb=refs%2Fchanges%2F10%2F28010%2F15;hp=a583d6d29f87d4c0e8a25f4ead16f8758631eb72;hpb=68ff85b8858e845eee1ca9d6d2ba639cdc2fb470;p=fs%2Flustre-release.git diff --git a/lustre/mgs/mgs_llog.c b/lustre/mgs/mgs_llog.c index a583d6d..135e78b 100644 --- a/lustre/mgs/mgs_llog.c +++ b/lustre/mgs/mgs_llog.c @@ -1910,7 +1910,8 @@ static int mgs_steal_client_llog_handler(const struct lu_env *env, if (lcfg->lcfg_command == LCFG_SPTLRPC_CONF) RETURN(rc); - if (lcfg->lcfg_command == LCFG_ADD_MDC) { + if (lcfg->lcfg_command == LCFG_ADD_MDC && + strstr(lustre_cfg_string(lcfg, 0), "-clilmv") != NULL) { int index; if (sscanf(lustre_cfg_buf(lcfg, 2), "%d", &index) != 1) @@ -2546,17 +2547,14 @@ static int mgs_write_log_mdt(const struct lu_env *env, if (rc) GOTO(out_free, rc); - rc = record_marker(env, llh, fsdb, CM_START, cliname, - "mount opts"); + rc = record_marker(env, llh, fsdb, CM_START, cliname, "mount opts"); if (rc) GOTO(out_end, rc); rc = record_mount_opt(env, llh, cliname, fsdb->fsdb_clilov, fsdb->fsdb_clilmv); if (rc) GOTO(out_end, rc); - rc = record_marker(env, llh, fsdb, CM_END, cliname, - "mount opts"); - + rc = record_marker(env, llh, fsdb, CM_END, cliname, "mount opts"); if (rc) GOTO(out_end, rc);