From fa3ca3c61fbd7ad95f57f0522624396b8f05ecf6 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 23 Sep 2010 06:30:43 +0000 Subject: distribute: don't update the inode's gfid directly Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 1680 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1680 --- xlators/cluster/dht/src/dht-rename.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/cluster/dht/src/dht-rename.c') diff --git a/xlators/cluster/dht/src/dht-rename.c b/xlators/cluster/dht/src/dht-rename.c index d88fc74450a..08a548c4d7c 100644 --- a/xlators/cluster/dht/src/dht-rename.c +++ b/xlators/cluster/dht/src/dht-rename.c @@ -590,6 +590,7 @@ dht_rename_create_links (call_frame_t *frame) gf_log (this->name, GF_LOG_TRACE, "linkfile %s @ %s => %s", local->loc.path, dst_hashed->name, src_cached->name); + memcpy (local->gfid, local->loc.inode->gfid, 16); dht_linkfile_create (frame, dht_rename_links_cbk, src_cached, dst_hashed, &local->loc); } -- cgit