Whamcloud - gitweb
Branch b1_8
authorbwzhou <bwzhou>
Sun, 15 Jun 2008 17:16:53 +0000 (17:16 +0000)
committerbwzhou <bwzhou>
Sun, 15 Jun 2008 17:16:53 +0000 (17:16 +0000)
b=14693
r=nathan

Don't return an error for conf_param processing failures

lustre/obdclass/obd_config.c

index 924c6fb..c56aa8f 100644 (file)
@@ -908,8 +908,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),