diff options
author | Amar Tumballi <amar@gluster.com> | 2010-09-23 06:30:43 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-23 07:51:06 -0700 |
commit | fa3ca3c61fbd7ad95f57f0522624396b8f05ecf6 (patch) | |
tree | 56a7c29fc49401544d8c9ac74cb213d36ed83347 /xlators/cluster/dht/src/dht-rename.c | |
parent | a2e35ea0166c42435f860990c9476dda470843c8 (diff) |
distribute: don't update the inode's gfid directly
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1680 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1680
Diffstat (limited to 'xlators/cluster/dht/src/dht-rename.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-rename.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |