summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/posix.c
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2009-10-17 00:58:01 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-19 23:14:49 -0700
commitfbaea55d731ea9891c1c6ae08dea6b7765e7ad11 (patch)
tree9054c2dbd9e84efd7892a18908442ef5267e3dd1 /xlators/features/locks/src/posix.c
parent0fa1305ed3e3943b22d9a3340a4464daf7742ab3 (diff)
locks: trace support for inodelk
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 306 (Enhance locks to aid debugging) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=306
Diffstat (limited to 'xlators/features/locks/src/posix.c')
-rw-r--r--xlators/features/locks/src/posix.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
index 74740151a..e2ff664ca 100644
--- a/xlators/features/locks/src/posix.c
+++ b/xlators/features/locks/src/posix.c
@@ -646,7 +646,7 @@ pl_lk (call_frame_t *frame, xlator_t *this,
goto unwind;
}
- pl_trace_in (this, frame, fd, cmd, flock);
+ pl_trace_in (this, frame, fd, NULL, cmd, flock);
switch (cmd) {
@@ -681,7 +681,8 @@ pl_lk (call_frame_t *frame, xlator_t *this,
if (ret == -1) {
if (can_block) {
- pl_trace_block (this, frame, fd, cmd, flock);
+ pl_trace_block (this, frame, fd, NULL,
+ cmd, flock);
goto out;
}
@@ -693,7 +694,7 @@ pl_lk (call_frame_t *frame, xlator_t *this,
}
unwind:
- pl_trace_out (this, frame, fd, cmd, flock, op_ret, op_errno);
+ pl_trace_out (this, frame, fd, NULL, cmd, flock, op_ret, op_errno);
pl_update_refkeeper (this, fd->inode);
STACK_UNWIND (frame, op_ret, op_errno, flock);