ocfs2_dlm: Add missing locks in dlm_empty_lockres
authorSunil Mushran <sunil.mushran@oracle.com>
Mon, 12 Mar 2007 20:25:44 +0000 (13:25 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 14 Mar 2007 21:37:35 +0000 (14:37 -0700)
commitb36c3f84988eebf38acaccc756e05f6b70e333ab
treed8e03ce262e6766a440e5db5d5c82b039cfd2131
parent3fca0894a4b5e52c278421b04435b88e32b423ad
ocfs2_dlm: Add missing locks in dlm_empty_lockres

__dlm_lockres_unused() expects the caller to take the lockres spinlock.

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