summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/xlator.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2011-09-27 14:42:28 +0530
committerVijay Bellur <vijay@gluster.com>2011-09-29 04:14:20 -0700
commit09cfa5dffa79abd833354a26783db9edcfb69105 (patch)
treeddaa42aac9b767c1d28f3794f6004288fd2a37e8 /libglusterfs/src/xlator.c
parentc7985fe0d384846fb8974ab75eda7995bb354d79 (diff)
libglusterfs: wipe other variabes in loc
Change-Id: I0553bb7f64d69f5684c3d21f3809da4e9e3529c1 BUG: 3557 Reviewed-on: http://review.gluster.com/515 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'libglusterfs/src/xlator.c')
-rw-r--r--libglusterfs/src/xlator.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c
index 6098e659bf9..0d8c2589ae1 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;
}