summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorshishir gowda <sgowda@redhat.com>2013-02-13 13:03:10 +0530
committerAnand Avati <avati@redhat.com>2013-02-14 20:26:16 -0800
commit5d29e598665456b2b7250fdca14de7409098877a (patch)
tree9f6a30bce450e3ae95235d546573e5dd0db69319 /xlators
parent4443a5cde640fa612ba9537a662268d889c8c3df (diff)
cluster/distribute: Remove suprious fd_unref call
After fix http://review.gluster.org/4282 (libglusterfsterfs/syncop: do not hold ref on the fd in cbk) was pushed, syncop_open does not take a ref anymore. Change-Id: I5543986a4f2d965eef42ca979b39ac75439cec49 BUG: 910661 Signed-off-by: shishir gowda <sgowda@redhat.com> Reviewed-on: http://review.gluster.org/4509 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/dht/src/dht-helper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/cluster/dht/src/dht-helper.c b/xlators/cluster/dht/src/dht-helper.c
index c587daca7b2..9e71c6033f0 100644
--- a/xlators/cluster/dht/src/dht-helper.c
+++ b/xlators/cluster/dht/src/dht-helper.c
@@ -753,8 +753,6 @@ dht_migration_complete_check_task (void *data)
goto out;
}
- /* need this unref for the fd on src_node */
- fd_unref (local->fd);
ret = 0;
out: