diff options
author | Pavan Sondur <pavan@gluster.com> | 2010-08-12 12:27:35 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-12 23:39:11 -0700 |
commit | 11c210ea3fdb724af4ea8a221dffc20dad9924a0 (patch) | |
tree | b66a9933f6b8d87d343a6ac392daa3811d0a3579 /xlators | |
parent | d502952cbe42760bf27a9e6cf2c616b6d7e5d379 (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')
-rw-r--r-- | xlators/cluster/afr/src/afr-common.c | 8 |
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; |