summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heald.c
diff options
context:
space:
mode:
authorShylesh Kumar <shylesh@gluster.com>2012-01-24 12:14:36 +0530
committerVijay Bellur <vijay@gluster.com>2012-01-23 23:25:31 -0800
commit0694749c3e5039be327110a64dd66619b5d9121c (patch)
tree9f4cead94971cd432a2ce6be6b706d6ba8ef619e /xlators/cluster/afr/src/afr-self-heald.c
parente04d45facc722d944d51439f4ae57b2af2a03d3e (diff)
cluster/afr: set loc->gfid for building root locv3.3.0qa20
Change-Id: Icb902846d243df0502f664bfd187280cecd4397c BUG: 784176 Signed-off-by: Shylesh Kumar <shylesh@gluster.com> Reviewed-on: http://review.gluster.com/2681 Reviewed-by: Pranith Kumar Karampuri <pranithk@gluster.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heald.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heald.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heald.c b/xlators/cluster/afr/src/afr-self-heald.c
index c75b7fa92..f360ec33d 100644
--- a/xlators/cluster/afr/src/afr-self-heald.c
+++ b/xlators/cluster/afr/src/afr-self-heald.c
@@ -477,7 +477,7 @@ afr_build_root_loc (inode_t *inode, loc_t *loc)
loc->inode->ia_type = IA_IFDIR;
memset (loc->inode->gfid, 0, 16);
loc->inode->gfid[15] = 1;
-
+ uuid_copy (loc->gfid, loc->inode->gfid);
}
int