Whamcloud - gitweb
Branch b1_6
authoradilger <adilger>
Thu, 31 May 2007 19:55:25 +0000 (19:55 +0000)
committeradilger <adilger>
Thu, 31 May 2007 19:55:25 +0000 (19:55 +0000)
Don't even try to connect to the MGC if we are passed an old-style profile.
b=11691
i=nathan

lustre/llite/llite_lib.c

index 503a6a7..46c1ce8 100644 (file)
@@ -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;