aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmunlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/dlm/dlmunlock.c')
-rw-r--r--fs/ocfs2/dlm/dlmunlock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ocfs2/dlm/dlmunlock.c b/fs/ocfs2/dlm/dlmunlock.c
index 3c8a250fcfec..fc8baa3e9539 100644
--- a/fs/ocfs2/dlm/dlmunlock.c
+++ b/fs/ocfs2/dlm/dlmunlock.c
@@ -248,8 +248,8 @@ leave:
248 /* this should always be coupled with list removal */ 248 /* this should always be coupled with list removal */
249 BUG_ON(!(actions & DLM_UNLOCK_REMOVE_LOCK)); 249 BUG_ON(!(actions & DLM_UNLOCK_REMOVE_LOCK));
250 mlog(0, "lock %u:%llu should be gone now! refs=%d\n", 250 mlog(0, "lock %u:%llu should be gone now! refs=%d\n",
251 dlm_get_lock_cookie_node(lock->ml.cookie), 251 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)),
252 dlm_get_lock_cookie_seq(lock->ml.cookie), 252 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)),
253 atomic_read(&lock->lock_refs.refcount)-1); 253 atomic_read(&lock->lock_refs.refcount)-1);
254 dlm_lock_put(lock); 254 dlm_lock_put(lock);
255 } 255 }
@@ -506,8 +506,8 @@ not_found:
506 if (!found) 506 if (!found)
507 mlog(ML_ERROR, "failed to find lock to unlock! " 507 mlog(ML_ERROR, "failed to find lock to unlock! "
508 "cookie=%u:%llu\n", 508 "cookie=%u:%llu\n",
509 dlm_get_lock_cookie_node(unlock->cookie), 509 dlm_get_lock_cookie_node(be64_to_cpu(unlock->cookie)),
510 dlm_get_lock_cookie_seq(unlock->cookie)); 510 dlm_get_lock_cookie_seq(be64_to_cpu(unlock->cookie)));
511 else 511 else
512 dlm_lock_put(lock); 512 dlm_lock_put(lock);
513 513