cluster/afr: set loc->gfid for building root loc
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>
This commit is contained in:
parent
e04d45facc
commit
0694749c3e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user