summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2016-11-17 21:02:29 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-11-27 21:40:17 -0800
commit2214501d6045b45dde469c5a476c86b6cf464c34 (patch)
tree2b24743f349961674084965f4485573ef573d5ce /xlators/protocol
parent6be7bd936eb30aa8d2b908061f60e1534e797657 (diff)
protocol/server: Print pargfid in logs for rename error
BUG: 1394548 Change-Id: I42ee627c8cdf54158f083f9019a096ace449e3cc Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/15872 Smoke: Gluster Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'xlators/protocol')
-rw-r--r--xlators/protocol/server/src/server-rpc-fops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/protocol/server/src/server-rpc-fops.c b/xlators/protocol/server/src/server-rpc-fops.c
index faea78e18d1..e52a7c88c08 100644
--- a/xlators/protocol/server/src/server-rpc-fops.c
+++ b/xlators/protocol/server/src/server-rpc-fops.c
@@ -1011,8 +1011,8 @@ server_rename_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
state = CALL_STATE (frame);
if (op_ret == -1) {
- uuid_utoa_r (state->resolve.gfid, oldpar_str);
- uuid_utoa_r (state->resolve2.gfid, newpar_str);
+ uuid_utoa_r (state->resolve.pargfid, oldpar_str);
+ uuid_utoa_r (state->resolve2.pargfid, newpar_str);
gf_msg (this->name, GF_LOG_INFO, op_errno, PS_MSG_RENAME_INFO,
"%"PRId64": RENAME %s (%s/%s) -> %s (%s/%s), "
"client: %s, error-xlator: %s", frame->root->unique,