summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshishir gowda <sgowda@redhat.com>2013-02-13 13:03:10 +0530
committerVijay Bellur <vbellur@redhat.com>2013-03-04 02:40:32 -0800
commitea0b1c66bf61c12491bb4f2b7313df2a4d66ed6a (patch)
tree31842b6cd85cb2203862cd17de1139a0689a99ea
parent41400b3a4e34a77af5e13ba926ec372291553fe6 (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. BUG: 910661 Change-Id: Idedff91270966e6e70e71ee83785c0228e238d31 Signed-off-by: shishir gowda <sgowda@redhat.com> Reviewed-on: http://review.gluster.org/4608 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
-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: