From 0694749c3e5039be327110a64dd66619b5d9121c Mon Sep 17 00:00:00 2001 From: Shylesh Kumar Date: Tue, 24 Jan 2012 12:14:36 +0530 Subject: cluster/afr: set loc->gfid for building root loc Change-Id: Icb902846d243df0502f664bfd187280cecd4397c BUG: 784176 Signed-off-by: Shylesh Kumar Reviewed-on: http://review.gluster.com/2681 Reviewed-by: Pranith Kumar Karampuri Tested-by: Gluster Build System --- xlators/cluster/afr/src/afr-self-heald.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/cluster/afr/src/afr-self-heald.c b/xlators/cluster/afr/src/afr-self-heald.c index c75b7fa92ad..f360ec33df8 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 -- cgit