Whamcloud - gitweb
Branch HEAD
authorbwzhou <bwzhou>
Fri, 27 Jun 2008 16:49:30 +0000 (16:49 +0000)
committerbwzhou <bwzhou>
Fri, 27 Jun 2008 16:49:30 +0000 (16:49 +0000)
b=14693
r=nathan

Don't return an error for conf param processing failures

lustre/obdclass/obd_config.c

index b2a15f0..fbfb086 100644 (file)
@@ -892,8 +892,7 @@ int class_process_proc_param(char *prefix, struct lprocfs_vars *lvars,
                 if (!matched) {
                         CERROR("%s: unknown param %s\n",
                                (char *)lustre_cfg_string(lcfg, 0), key);
-                        rc = -EINVAL;
-                        /* continue parsing other params */
+                        /* rc = -EINVAL;       continue parsing other params */
                 } else {
                         LCONSOLE_INFO("%s.%.*s: set parameter %.*s=%s\n", 
                                       (char *)lustre_cfg_string(lcfg, 0),