summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-common.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-common.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-common.c')
-rw-r--r--xlators/cluster/afr/src/afr-common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c
index 114812c6..5c085b61 100644
--- a/xlators/cluster/afr/src/afr-common.c
+++ b/xlators/cluster/afr/src/afr-common.c
@@ -1981,9 +1981,6 @@ afr_lookup (call_frame_t *frame, xlator_t *this,
UNLOCK (&priv->read_child_lock);
}
- if (loc->parent)
- local->cont.lookup.parent_ino = loc->parent->ino;
-
local->child_up = memdup (priv->child_up,
sizeof (*local->child_up) * priv->child_count);
if (NULL == local->child_up) {
@@ -2485,7 +2482,6 @@ afr_fsync (call_frame_t *frame, xlator_t *this, fd_t *fd,
frame->local = local;
local->fd = fd_ref (fd);
- local->cont.fsync.ino = fd->inode->ino;
for (i = 0; i < priv->child_count; i++) {
if (local->child_up[i]) {