From 09cfa5dffa79abd833354a26783db9edcfb69105 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 27 Sep 2011 14:42:28 +0530 Subject: libglusterfs: wipe other variabes in loc Change-Id: I0553bb7f64d69f5684c3d21f3809da4e9e3529c1 BUG: 3557 Reviewed-on: http://review.gluster.com/515 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- libglusterfs/src/xlator.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index 6098e659b..0d8c2589a 100644 --- a/libglusterfs/src/xlator.c +++ b/libglusterfs/src/xlator.c @@ -544,6 +544,9 @@ loc_wipe (loc_t *loc) inode_unref (loc->parent); loc->parent = NULL; } + uuid_clear (loc->gfid); + uuid_clear (loc->pargfid); + loc->ino = 0; } -- cgit