summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmthread.c
diff options
context:
space:
mode:
authorSunil Mushran2011-07-24 19:27:54 +0200
committerSunil Mushran2011-07-24 19:27:54 +0200
commite9f0b6a6233105c188064328c3f15e21942d0241 (patch)
tree362f0f98f9a7d9909a75210b3a2a4b8eb5532323 /fs/ocfs2/dlm/dlmthread.c
parentocfs2/dlm: Clean up refmap helpers (diff)
downloadkernel-qcow2-linux-e9f0b6a6233105c188064328c3f15e21942d0241.tar.gz
kernel-qcow2-linux-e9f0b6a6233105c188064328c3f15e21942d0241.tar.xz
kernel-qcow2-linux-e9f0b6a6233105c188064328c3f15e21942d0241.zip
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 46faac20f16c..4eff65e7e59e 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. */