summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmthread.c
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2011-07-24 10:27:54 -0700
committerSunil Mushran <sunil.mushran@oracle.com>2011-07-24 10:27:54 -0700
commite9f0b6a6233105c188064328c3f15e21942d0241 (patch)
tree362f0f98f9a7d9909a75210b3a2a4b8eb5532323 /fs/ocfs2/dlm/dlmthread.c
parent8d400b81cc83b171ff872587723a37eb7fae9abe (diff)
downloadop-kernel-dev-e9f0b6a6233105c188064328c3f15e21942d0241.zip
op-kernel-dev-e9f0b6a6233105c188064328c3f15e21942d0241.tar.gz
ocfs2/dlm: Trace insert/remove of resource to/from hash
Add mlog to trace adding and removing the resource from/to the hash table. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmthread.c')
-rw-r--r--fs/ocfs2/dlm/dlmthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmthread.c b/fs/ocfs2/dlm/dlmthread.c
index 46faac2..4eff65e 100644
--- a/fs/ocfs2/dlm/dlmthread.c
+++ b/fs/ocfs2/dlm/dlmthread.c
@@ -207,7 +207,7 @@ static void dlm_purge_lockres(struct dlm_ctxt *dlm,
BUG();
}
- __dlm_unhash_lockres(res);
+ __dlm_unhash_lockres(dlm, res);
/* lockres is not in the hash now. drop the flag and wake up
* any processes waiting in dlm_get_lock_resource. */
OpenPOWER on IntegriCloud