summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2012-02-15 19:48:50 +0530
committerAnand Avati <avati@redhat.com>2012-02-16 22:49:15 -0800
commit7fa06c4ce1a44bbd89d3798193f173c057533bb6 (patch)
treeea348fcf64aed97666ac26ce3e5380532c0ffbbe /xlators/protocol/client
parent47e748fe60c46d543c87f3228eb59d6580db8cf1 (diff)
protocol: remove the 'path<>' from rename() and link()
missed it in the previous round of cleanup, path is completely useless in resolve function. Change-Id: I1aef0f5276afb77dfacfcc0c337ac80b4fcacc55 Signed-off-by: Amar Tumballi <amar@gluster.com> BUG: 790298 Reviewed-on: http://review.gluster.com/2756 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/protocol/client')
-rw-r--r--xlators/protocol/client/src/client3_1-fops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/protocol/client/src/client3_1-fops.c b/xlators/protocol/client/src/client3_1-fops.c
index e57373419..234b0dd6e 100644
--- a/xlators/protocol/client/src/client3_1-fops.c
+++ b/xlators/protocol/client/src/client3_1-fops.c
@@ -2999,9 +2999,7 @@ client3_1_rename (call_frame_t *frame, xlator_t *this,
GF_ASSERT_AND_GOTO_WITH_ERROR (this->name,
!uuid_is_null (*((uuid_t*)req.newgfid)),
unwind, op_errno, EINVAL);
- req.oldpath = (char *)args->oldloc->path;
req.oldbname = (char *)args->oldloc->name;
- req.newpath = (char *)args->newloc->path;
req.newbname = (char *)args->newloc->name;
conf = this->private;
@@ -3067,8 +3065,6 @@ client3_1_link (call_frame_t *frame, xlator_t *this,
loc_copy (&local->loc, args->oldloc);
frame->local = local;
- req.oldpath = (char *)args->oldloc->path;
- req.newpath = (char *)args->newloc->path;
req.newbname = (char *)args->newloc->name;
conf = this->private;