summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-inode-read.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2011-10-25 11:45:10 +0530
committerVijay Bellur <vijay@gluster.com>2011-10-28 05:49:40 -0700
commitaf708e9fc2eb2104b9e8e3b5a3eaf99201664324 (patch)
tree524d1afbb7ad388422b53b6827ec54cb17fe7acf /xlators/cluster/afr/src/afr-inode-read.c
parentc770722983f73aa838b5985755999050c746550a (diff)
cluster/afr: Remove unused 'ino' code
Change-Id: I425e2d23e9e45f10ddeff2eacf918dd90f8baee7 BUG: 3744 Reviewed-on: http://review.gluster.com/639 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-inode-read.c')
-rw-r--r--xlators/cluster/afr/src/afr-inode-read.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-read.c b/xlators/cluster/afr/src/afr-inode-read.c
index 1258afe09fc..82a9d27c075 100644
--- a/xlators/cluster/afr/src/afr-inode-read.c
+++ b/xlators/cluster/afr/src/afr-inode-read.c
@@ -270,8 +270,6 @@ afr_stat (call_frame_t *frame, xlator_t *this, loc_t *loc)
}
loc_copy (&local->loc, loc);
- local->cont.stat.ino = loc->inode->ino;
-
STACK_WIND_COOKIE (frame, afr_stat_cbk, (void *) (long) call_child,
children[call_child],
children[call_child]->fops->stat,
@@ -393,7 +391,6 @@ afr_fstat (call_frame_t *frame, xlator_t *this,
goto out;
}
- local->cont.fstat.ino = fd->inode->ino;
local->fd = fd_ref (fd);
op_ret = afr_open_fd_fix (frame, this, _gf_false);
@@ -518,7 +515,6 @@ afr_readlink (call_frame_t *frame, xlator_t *this,
loc_copy (&local->loc, loc);
local->cont.readlink.size = size;
- local->cont.readlink.ino = loc->inode->ino;
STACK_WIND_COOKIE (frame, afr_readlink_cbk,
(void *) (long) call_child,
@@ -1035,7 +1031,6 @@ afr_readv (call_frame_t *frame, xlator_t *this,
local->fd = fd_ref (fd);
- local->cont.readv.ino = fd->inode->ino;
local->cont.readv.size = size;
local->cont.readv.offset = offset;