From 5d29e598665456b2b7250fdca14de7409098877a Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Wed, 13 Feb 2013 13:03:10 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/4509 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Anand Avati --- xlators/cluster/dht/src/dht-helper.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators/cluster') 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: -- cgit