cluster/dlm-kernel/src device.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: teigland at sourceware.org 2006-08-14 21:11:31
Modified files:
dlm-kernel/src : device.c
Log message:
fix bz 201325 - Kernel Oops when passing LKF_CANCEL to dlm_ls_unlock_wait from Carsten Clasohm (clasohm at redhat.com)
dlm-kernel/src/Attic/device.c +1 -1
@@ -344,7 +344,7 @@/* If the LKB has been freed then we need to tidy up too */ lkb =dlm_get_lkb (li->li_file->fi_ls->ls_lockspace, li->li_lksb.sb_lkid); -if (!lkb) { +if (!lkb &&test_bit (LI_FLAG_ONLIST , &li->li_flags)) {spin_lock (&li->li_file->fi_lkb_lock);list_del (&li->li_ownerqueue);clear_bit (LI_FLAG_ONLIST , &li->li_flags);