summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-11-09 02:48:31 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-09 02:12:20 -0800
commit1badd4511f1cd7ea7c3187b121f793cabb414f3a (patch)
treeaa2d6a16a962ca9988e3db604adb4660de55376e /xlators/protocol/client
parent030393152fe6e7660cc4464be8b65ec1d6ecbbc5 (diff)
client: Return correct pre/post iatt for dst during rename
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2050 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2050
Diffstat (limited to 'xlators/protocol/client')
-rw-r--r--xlators/protocol/client/src/client3_1-fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client3_1-fops.c b/xlators/protocol/client/src/client3_1-fops.c
index 86e7fb24e0f..b1fe7fe1e99 100644
--- a/xlators/protocol/client/src/client3_1-fops.c
+++ b/xlators/protocol/client/src/client3_1-fops.c
@@ -1730,7 +1730,7 @@ out:
STACK_UNWIND_STRICT (rename, frame, rsp.op_ret,
gf_error_to_errno (rsp.op_errno),
&stbuf, &preoldparent, &postoldparent,
- &preoldparent, &postoldparent);
+ &prenewparent, &postnewparent);
return 0;
}