X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fobdclass%2Fobd_mount.c;h=572c4f4277ace51bee72efeebdb4f749c1f77fcc;hp=9af25248bcb56cdbedddbf742af09a3ca4617033;hb=fd908da9;hpb=5e72bf1720374198302a1f82d6e2022423e8cb39 diff --git a/lustre/obdclass/obd_mount.c b/lustre/obdclass/obd_mount.c index 9af2524..572c4f4 100644 --- a/lustre/obdclass/obd_mount.c +++ b/lustre/obdclass/obd_mount.c @@ -723,6 +723,10 @@ static int lustre_start_mgc(struct super_block *sb) /* nonfatal */ CERROR("can't set %s %d\n", KEY_INIT_RECOV_BACKUP, rc); /* We connect to the MGS at setup, and don't disconnect until cleanup */ + + ocd.ocd_connect_flags = OBD_CONNECT_VERSION | OBD_CONNECT_FID; + ocd.ocd_version = LUSTRE_VERSION_CODE; + rc = obd_connect(NULL, &mgc_conn, obd, &(obd->obd_uuid), &ocd); if (rc) { CERROR("connect failed %d\n", rc);