From: ericm Date: Tue, 23 Dec 2008 18:24:11 +0000 (+0000) Subject: branch: HEAD X-Git-Tag: v1_9_140~54 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=f10069d3205cfab51f8ffa7a0a64bbcfcbb99320;hp=a3680bd3dc325523b89eabb546e254a815f618fe branch: HEAD set default mgc-mgs flavor for liblustre. b=17916 r=fanyong r=zhanghc --- diff --git a/lustre/mgc/libmgc.c b/lustre/mgc/libmgc.c index 9742e8c..3c242e3 100644 --- a/lustre/mgc/libmgc.c +++ b/lustre/mgc/libmgc.c @@ -67,6 +67,9 @@ static int mgc_setup(struct obd_device *obd, struct lustre_cfg *lcfg) if (rc) GOTO(err_decref, rc); + /* liblustre only support null flavor to MGS */ + obd->u.cli.cl_flvr_mgc.sf_rpc = SPTLRPC_FLVR_NULL; + rc = obd_llog_init(obd, &obd->obd_olg, obd, 0, NULL, NULL); if (rc) { CERROR("failed to setup llogging subsystems\n");