X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fptlrpc%2Fsec.c;h=0fbd56203991156b3be00e9e4ba1cdc7424e0d4d;hp=1531475873edc251341921fb2704648f7b96e10e;hb=be6712ca80218310cdbb9a1b7d86c5dbd4475584;hpb=3854ffeb3e4e8bedf9c7617ea4746b96c5bf0a6c diff --git a/lustre/ptlrpc/sec.c b/lustre/ptlrpc/sec.c index 1531475..0fbd562 100644 --- a/lustre/ptlrpc/sec.c +++ b/lustre/ptlrpc/sec.c @@ -1466,12 +1466,12 @@ int sptlrpc_import_sec_adapt(struct obd_import *imp, sptlrpc_import_sec_adapt_inplace(imp, sec, &sf); GOTO(out, rc); } - } else { - CWARN("import %s->%s netid %x: select flavor %s\n", - imp->imp_obd->obd_name, - obd_uuid2str(&conn->c_remote_uuid), - LNET_NIDNET(conn->c_self), - sptlrpc_flavor2name(&sf, str, sizeof(str))); + } else if (sptlrpc_flavor2name_base(sf.sf_rpc) != SPTLRPC_FLVR_NULL) { + LCONSOLE_INFO("import %s->%s netid %x: select flavor %s\n", + imp->imp_obd->obd_name, + obd_uuid2str(&conn->c_remote_uuid), + LNET_NIDNET(conn->c_self), + sptlrpc_flavor2name(&sf, str, sizeof(str))); } cfs_mutex_down(&imp->imp_sec_mutex);