834
834
/* if we empty lkb_callbacks, we don't want to unlock the spinlock
836
836
consistent with empty lkb_callbacks */
840
840
rv = dlm_rem_lkb_callback(lkb->lkb_resource->res_ls, lkb, &cb, &resid);
842
842
/* this shouldn't happen; lkb should have been removed from
843
843
list when resid was zero */
844
844
log_print("dlm_rem_lkb_callback empty %x", lkb->lkb_id);
846
846
spin_unlock(&proc->asts_spin);
847
847
/* removes ref for proc->asts, may cause lkb to be freed */
853
853
spin_unlock(&proc->asts_spin);
855
855
if (cb.flags & DLM_CB_SKIP) {