From: adilger Date: Thu, 31 May 2007 19:55:25 +0000 (+0000) Subject: Branch b1_6 X-Git-Tag: v1_8_0_110~1560 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=f7eccfd86de18f0607ffc91f3fb832dee2056480;p=fs%2Flustre-release.git Branch b1_6 Don't even try to connect to the MGC if we are passed an old-style profile. b=11691 i=nathan --- diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 503a6a7..46c1ce8 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -908,7 +908,10 @@ int ll_fill_super(struct super_block *sb) cfg.cfg_uuid = lsi->lsi_llsbi->ll_sb_uuid; /* set up client obds */ - err = lustre_process_log(sb, profilenm, &cfg); + if (strchr(profilenm, '/') != NULL) /* COMPAT_146 */ + err = -EINVAL; /* skip error messages, use old config code */ + else + err = lustre_process_log(sb, profilenm, &cfg); /* COMPAT_146 */ if (err < 0) { char *oldname;