b=5493
add asserts to help track this down
struct obd_import *class_import_get(struct obd_import *import)
{
+ LASSERT(atomic_read(&import->imp_refcount) >= 0);
+ LASSERT(atomic_read(&import->imp_refcount) < 0x5a5a5a);
atomic_inc(&import->imp_refcount);
CDEBUG(D_IOCTL, "import %p refcount=%d\n", import,
atomic_read(&import->imp_refcount));
LASSERT((unsigned long)imp > 0x1000);
LASSERT(imp != LP_POISON);
+ LASSERT((unsigned long)imp->imp_client > 0x1000);
+ LASSERT(imp->imp_client != LP_POISON);
OBD_ALLOC(request, sizeof(*request));
if (!request) {
sending_list = &lcm->lcm_llcd_pending;
resend:
+ import = NULL;
if (lcm->lcm_flags & LLOG_LCM_FL_EXIT) {
lcm->lcm_llcd_maxfree = 0;
lcm->lcm_llcd_minfree = 0;