From f7eccfd86de18f0607ffc91f3fb832dee2056480 Mon Sep 17 00:00:00 2001 From: adilger <adilger> Date: Thu, 31 May 2007 19:55:25 +0000 Subject: [PATCH] Branch b1_6 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 503a6a71fe..46c1ce8686 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; -- GitLab