From 83a3daf7c205f119169eb2d7091432de05b1861c 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: Ib171710645a6ee35c86d851a057b68461ecbab27 Signed-off-by: Amar Tumballi BUG: 766571 Reviewed-on: http://review.gluster.com/2691 Tested-by: Gluster Build System Reviewed-by: Jeff Darcy Reviewed-by: Vijay Bellur --- xlators/cluster/dht/src/dht-rebalance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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