summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-helper.c
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-09-03 14:01:08 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-04 01:45:36 -0700
commit64443fa783c9c43a597440164b35fd8131b7f4d3 (patch)
tree28694c8e2d03e462b7b14cd6bb9ec2bf648faebe /xlators/cluster/dht/src/dht-helper.c
parent71c66d9c9a36a28107cfc202aa38f51b3dde8731 (diff)
gfid: changes in distribute to handle uuids in iatt structure
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@amp.gluster.com> Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/cluster/dht/src/dht-helper.c')
-rw-r--r--xlators/cluster/dht/src/dht-helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-helper.c b/xlators/cluster/dht/src/dht-helper.c
index 09c326289..804685b65 100644
--- a/xlators/cluster/dht/src/dht-helper.c
+++ b/xlators/cluster/dht/src/dht-helper.c
@@ -417,6 +417,8 @@ dht_iatt_merge (xlator_t *this, struct iatt *to,
to->ia_dev = from->ia_dev;
+ uuid_copy (to->ia_gfid, from->ia_gfid);
+
dht_itransform (this, subvol, from->ia_ino, &to->ia_ino);
to->ia_gen = from->ia_gen;