summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2009-12-06 07:42:30 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-12-06 08:41:37 -0800
commitfdc187d11ead26710add3cd45dd5f306dad59900 (patch)
treedfa3e431c21ad58fddcdbba0a8e825c2c026b685 /xlators/protocol
parenta53cd95827df0a9c560fdf5e07b0c23d03707b04 (diff)
protocol/server: more fixes in server_link_cbk
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 448 (server_link_cbk refers to @inode when op_ret is -1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=448
Diffstat (limited to 'xlators/protocol')
-rw-r--r--xlators/protocol/server/src/server-protocol.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/protocol/server/src/server-protocol.c b/xlators/protocol/server/src/server-protocol.c
index 7b51f9f26..d9229e0d8 100644
--- a/xlators/protocol/server/src/server-protocol.c
+++ b/xlators/protocol/server/src/server-protocol.c
@@ -1610,10 +1610,10 @@ server_link_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
gf_log (state->bound_xl->name, GF_LOG_DEBUG,
"%"PRId64": LINK (%"PRId64") %"PRId64"/%s ==> %"PRId64"/%s "
" ==> %"PRId32" (%s)",
- frame->root->unique, state->loc2.inode->ino,
- state->loc2.parent->ino,
- state->loc2.name, state->loc.parent->ino,
- state->loc.name,
+ frame->root->unique, state->resolve2.ino,
+ state->resolve2.par,
+ state->resolve2.bname, state->resolve.par,
+ state->resolve.bname,
op_ret, strerror (op_errno));
}