summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/locks/src/common.c')
-rw-r--r--xlators/features/locks/src/common.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/xlators/features/locks/src/common.c b/xlators/features/locks/src/common.c
index 105422271..34576953a 100644
--- a/xlators/features/locks/src/common.c
+++ b/xlators/features/locks/src/common.c
@@ -532,7 +532,7 @@ grant_blocked_locks (xlator_t *this, pl_inode_t *pl_inode, gf_lk_domain_t dom)
list_for_each_entry_safe (lock, tmp, &granted_list, list) {
list_del_init (&lock->list);
- pl_trace_out (this, lock->frame, NULL, F_SETLKW,
+ pl_trace_out (this, lock->frame, NULL, NULL, F_SETLKW,
&lock->user_flock, 0, 0);
STACK_UNWIND (lock->frame, 0, 0, &lock->user_flock);
@@ -709,8 +709,8 @@ pl_print_lock (char *str, int size, int cmd, struct flock *flock)
void
-pl_trace_in (xlator_t *this, call_frame_t *frame, fd_t *fd, int cmd,
- struct flock *flock)
+pl_trace_in (xlator_t *this, call_frame_t *frame, fd_t *fd, loc_t *loc,
+ int cmd, struct flock *flock)
{
posix_locks_private_t *priv = NULL;
char pl_locker[256];
@@ -723,7 +723,7 @@ pl_trace_in (xlator_t *this, call_frame_t *frame, fd_t *fd, int cmd,
return;
pl_print_locker (pl_locker, 256, this, frame);
- pl_print_lockee (pl_lockee, 256, fd, NULL);
+ pl_print_lockee (pl_lockee, 256, fd, loc);
pl_print_lock (pl_lock, 256, cmd, flock);
gf_log (this->name, GF_LOG_NORMAL,
@@ -754,8 +754,8 @@ pl_print_verdict (char *str, int size, int op_ret, int op_errno)
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)
+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)
{
posix_locks_private_t *priv = NULL;
char pl_locker[256];
@@ -769,7 +769,7 @@ pl_trace_out (xlator_t *this, call_frame_t *frame, fd_t *fd, int cmd,
return;
pl_print_locker (pl_locker, 256, this, frame);
- pl_print_lockee (pl_lockee, 256, fd, NULL);
+ pl_print_lockee (pl_lockee, 256, fd, loc);
pl_print_lock (pl_lock, 256, cmd, flock);
pl_print_verdict (verdict, 32, op_ret, op_errno);
@@ -780,8 +780,8 @@ pl_trace_out (xlator_t *this, call_frame_t *frame, fd_t *fd, int cmd,
void
-pl_trace_block (xlator_t *this, call_frame_t *frame, fd_t *fd, int cmd,
- struct flock *flock)
+pl_trace_block (xlator_t *this, call_frame_t *frame, fd_t *fd, loc_t *loc,
+ int cmd, struct flock *flock)
{
posix_locks_private_t *priv = NULL;
char pl_locker[256];
@@ -794,7 +794,7 @@ pl_trace_block (xlator_t *this, call_frame_t *frame, fd_t *fd, int cmd,
return;
pl_print_locker (pl_locker, 256, this, frame);
- pl_print_lockee (pl_lockee, 256, fd, NULL);
+ pl_print_lockee (pl_lockee, 256, fd, loc);
pl_print_lock (pl_lock, 256, cmd, flock);
gf_log (this->name, GF_LOG_NORMAL,