summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorvmallika <vmallika@redhat.com>2015-07-07 16:56:12 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-07-14 04:04:03 -0700
commit84ecb016cd2f1c8853c22e2df7d44d6c7bf32ed7 (patch)
treebac025174b974bd9e45e7e53975bc0d962dc7db4 /tests
parente73db5e7fe1dba5a071725ef3480a4a1d5c7bef7 (diff)
quota: Fix crash in quota enforcer
With multiple hardlinks check_quota_limit is invoked for each parent each of this check_limit can invoke validation this can cause frame->local to get corrupted during validation. Testcase tests/bugs/quota/bug-1235182.t fails spuriously with this problem Change-Id: I53adc54b431fb5f43e67a94248102ddaf0d7978f BUG: 1238747 Signed-off-by: vmallika <vmallika@redhat.com> Reviewed-on: http://review.gluster.org/11510 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/quota/bug-1235182.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/quota/bug-1235182.t b/tests/bugs/quota/bug-1235182.t
index ec62b69638d..e28b557f558 100644
--- a/tests/bugs/quota/bug-1235182.t
+++ b/tests/bugs/quota/bug-1235182.t
@@ -17,7 +17,7 @@ TEST glusterd
TEST pidof glusterd;
TEST $CLI volume info;
-TEST $CLI volume create $V0 $H0:$B0/${V0}{1};
+TEST $CLI volume create $V0 $H0:$B0/${V0};
TEST $CLI volume start $V0;
TEST $CLI volume quota $V0 enable;