summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorPavan Sondur <pavan@gluster.com>2010-08-12 12:27:35 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-12 23:39:11 -0700
commit11c210ea3fdb724af4ea8a221dffc20dad9924a0 (patch)
treeb66a9933f6b8d87d343a6ac392daa3811d0a3579 /xlators/cluster
parentd502952cbe42760bf27a9e6cf2c616b6d7e5d379 (diff)
cluster/afr: Remove dead pump code in afr_lookup
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1347 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1347
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/afr/src/afr-common.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c
index aeadceddb6d..c52701f61ec 100644
--- a/xlators/cluster/afr/src/afr-common.c
+++ b/xlators/cluster/afr/src/afr-common.c
@@ -802,14 +802,6 @@ afr_fresh_lookup_cbk (call_frame_t *frame, void *cookie,
"added root inode");
priv->root_inode = inode_ref (inode);
priv->first_lookup = 0;
- priv->child_up[1] = 0;
-
- LOCK (&priv->lock);
- {
- priv->down_count++;
- }
- UNLOCK (&priv->lock);
-
}
*lookup_buf = *buf;