summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2011-06-14 23:55:21 +0000
committerAnand Avati <avati@gluster.com>2011-06-16 22:01:26 -0700
commitd773462f7c6d1c3c81fa691fc5911641c5bf4394 (patch)
treef388e957603f9a6574ce4d4005ae8721ae360edc /xlators/features/marker/src
parent1bdf3cdb86209af56c415151863d6cf67290944a (diff)
features/marker-quota: wipe parent_loc in marker_local_unref.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2697 (Quota: add-brick creates the size go awkward, though it was perfect earlier) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2697
Diffstat (limited to 'xlators/features/marker/src')
-rw-r--r--xlators/features/marker/src/marker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c
index e6fd66a6708..84c13435f0d 100644
--- a/xlators/features/marker/src/marker.c
+++ b/xlators/features/marker/src/marker.c
@@ -178,6 +178,7 @@ marker_local_unref (marker_local_t *local)
goto out;
loc_wipe (&local->loc);
+ loc_wipe (&local->parent_loc);
if (local->oplocal) {
marker_local_unref (local->oplocal);