Whamcloud - gitweb
- add an argument to select which tests to run
[fs/lustre-release.git] / lustre / obdclass / obd_config.c
index 0bf303f..931d5d3 100644 (file)
@@ -122,8 +122,6 @@ int class_attach(struct lustre_cfg *lcfg)
         INIT_LIST_HEAD(&obd->obd_exports);
         obd->obd_num_exports = 0;
         spin_lock_init(&obd->obd_dev_lock);
-        spin_lock_init(&obd->obd_osfs_lock);
-        obd->obd_osfs_age = jiffies - 1000 * HZ;
         init_waitqueue_head(&obd->obd_refcount_waitq);
         
         /* XXX belongs in setup not attach  */
@@ -625,7 +623,7 @@ int class_config_parse_llog(struct llog_ctxt *ctxt, char *name,
         if (rc) 
                 GOTO(parse_out, rc);
 
-        rc = llog_process(llh, class_config_llog_handler, cfg);
+        rc = llog_process(llh, class_config_llog_handler, cfg, NULL);
 parse_out:
         rc2 = llog_close(llh);
         if (rc == 0)
@@ -722,7 +720,7 @@ int class_config_dump_llog(struct llog_ctxt *ctxt, char *name,
         if (rc) 
                 GOTO(parse_out, rc);
 
-        rc = llog_process(llh, class_config_dump_handler, cfg);
+        rc = llog_process(llh, class_config_dump_handler, cfg, NULL);
 parse_out:
         rc2 = llog_close(llh);
         if (rc == 0)