Whamcloud - gitweb
Branch HEAD
authortappro <tappro>
Wed, 8 Jul 2009 04:21:21 +0000 (04:21 +0000)
committertappro <tappro>
Wed, 8 Jul 2009 04:21:21 +0000 (04:21 +0000)
b=20049
i=shadow
i=fanyong

remove wrong assertion

lustre/obdclass/obd_config.c

index 2a0b0f8..57d8761 100644 (file)
@@ -548,7 +548,6 @@ int class_cleanup(struct obd_device *obd, struct lustre_cfg *lcfg)
 struct obd_device *class_incref(struct obd_device *obd,
                                 const char *scope, const void *source)
 {
-        LASSERT(!obd->obd_stopping);
         lu_ref_add_atomic(&obd->obd_reference, scope, source);
         atomic_inc(&obd->obd_refcount);
         CDEBUG(D_INFO, "incref %s (%p) now %d\n", obd->obd_name, obd,