class_export_put(), that causes assert in case export has only one ref as export is still hashed. In fact, there
should be decref for previously made incref to @obd->obd_refcount and this fucntion seems not supposed to do
something else.
if (rc < 0) {
CERROR("%s: error starting mds_lov_synchronize: %d\n",
obd->obd_name, rc);
- class_export_put(obd->obd_self_export);
+ class_decref(obd);
} else {
CDEBUG(D_HA, "%s: mds_lov_synchronize thread: %d\n",
obd->obd_name, rc);