Whamcloud - gitweb
b=2225 fix obd_self_export issues
authorrread <rread>
Fri, 7 Nov 2003 18:52:15 +0000 (18:52 +0000)
committerrread <rread>
Fri, 7 Nov 2003 18:52:15 +0000 (18:52 +0000)
lustre/ldlm/ldlm_lib.c

index d956bad..355fb03 100644 (file)
@@ -631,13 +631,8 @@ void target_abort_recovery(void *data)
         target_cancel_recovery_timer(obd);
         spin_unlock_bh(&obd->obd_processing_task_lock);
 
-        obd_precleanup(obd, OBD_OPT_FORCE);
         class_disconnect_exports(obd, 0);
 
-        /* XXX can't call this with spin_lock_bh, but it probably
-           should be protected, somehow. */
-        obd_postsetup(obd);
-
         /* when recovery was abort, cleanup orphans for mds */
         if (OBT(obd) && OBP(obd, postrecov)) {
                 rc = OBP(obd, postrecov)(obd);