From 4e2a26eb285de9e0a5836ad5e2edbc14eb9adc80 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 16 Dec 2011 18:27:52 +0530 Subject: distribute: utilize new 'fremovexattr()' fop for rebalance instead of existing 'syncop_removexattr()' which is not rename proof for now. Change-Id: I3b2afbe58ce90658100cc56b01e23bed672854e8 Signed-off-by: Amar Tumballi BUG: 766571 Reviewed-on: http://review.gluster.com/803 Tested-by: Gluster Build System Reviewed-by: Jeff Darcy Reviewed-by: Shishir Gowda --- xlators/cluster/dht/src/dht-rebalance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster/dht/src/dht-rebalance.c') diff --git a/xlators/cluster/dht/src/dht-rebalance.c b/xlators/cluster/dht/src/dht-rebalance.c index 70950e83e..6c91baaac 100644 --- a/xlators/cluster/dht/src/dht-rebalance.c +++ b/xlators/cluster/dht/src/dht-rebalance.c @@ -689,7 +689,7 @@ dht_migrate_file (xlator_t *this, loc_t *loc, xlator_t *from, xlator_t *to, } /* remove the 'linkto' xattr from the destination */ - ret = syncop_removexattr (to, loc, DHT_LINKFILE_KEY); + ret = syncop_fremovexattr (to, dst_fd, DHT_LINKFILE_KEY); if (ret) { gf_log (this->name, GF_LOG_WARNING, "%s: failed to perform removexattr on %s (%s)", -- cgit