ocfs2_dlm: Missing get/put lockres in dlm_run_purge_lockres
authorSunil Mushran <sunil.mushran@oracle.com>
Mon, 12 Mar 2007 20:24:34 +0000 (13:24 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 14 Mar 2007 21:37:33 +0000 (14:37 -0700)
commit3fca0894a4b5e52c278421b04435b88e32b423ad
treea69223852d772625b7957f7650db9b6a907190fa
parentafdf04ea098139e86147f63aad9c383cad3b6f37
ocfs2_dlm: Missing get/put lockres in dlm_run_purge_lockres

In some circumstances, this was causing us to reference freed memory.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmthread.c