Whamcloud - gitweb
- remove extra dec in the error cleanup case.
authorrread <rread>
Wed, 12 Nov 2003 21:15:12 +0000 (21:15 +0000)
committerrread <rread>
Wed, 12 Nov 2003 21:15:12 +0000 (21:15 +0000)
lustre/obdclass/obd_config.c

index aeda07c..3765847 100644 (file)
@@ -225,7 +225,6 @@ err_cleanup:
         obd_cleanup(obd, 0);
         obd->obd_set_up = obd->obd_stopping = 0;
         obd->obd_type->typ_refcnt--;
-        atomic_dec(&obd->obd_refcount);
         RETURN(err);
 }