summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/common.h
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/common.h
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/common.h')
-rw-r--r--xlators/features/locks/src/common.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/xlators/features/locks/src/common.h b/xlators/features/locks/src/common.h
index 89d8701bf..cc53482c4 100644
--- a/xlators/features/locks/src/common.h
+++ b/xlators/features/locks/src/common.h
@@ -51,14 +51,14 @@ void __destroy_lock (posix_lock_t *);
void pl_update_refkeeper (xlator_t *this, inode_t *inode);
-void pl_trace_in (xlator_t *this, call_frame_t *frame, fd_t *fd, int cmd,
- struct flock *flock);
+void pl_trace_in (xlator_t *this, call_frame_t *frame, fd_t *fd, loc_t *loc,
+ int cmd, struct flock *flock);
-void pl_trace_out (xlator_t *this, call_frame_t *frame, fd_t *fd, int cmd,
- struct flock *flock, int op_ret, int op_errno);
+void pl_trace_out (xlator_t *this, call_frame_t *frame, fd_t *fd, loc_t *loc,
+ int cmd, struct flock *flock, int op_ret, int op_errno);
-void pl_trace_block (xlator_t *this, call_frame_t *frame, fd_t *fd, int cmd,
- struct flock *flock);
+void pl_trace_block (xlator_t *this, call_frame_t *frame, fd_t *fd, loc_t *loc,
+ int cmd, struct flock *flock);
void pl_trace_flush (xlator_t *this, call_frame_t *frame, fd_t *fd);