From 64443fa783c9c43a597440164b35fd8131b7f4d3 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Fri, 3 Sep 2010 14:01:08 +0000 Subject: gfid: changes in distribute to handle uuids in iatt structure Signed-off-by: Anand V. Avati Signed-off-by: Anand V. Avati Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- xlators/cluster/dht/src/dht-helper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/cluster/dht/src/dht-helper.c') 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; -- cgit