summaryrefslogtreecommitdiffstats
path: root/tests/bugs/quota/bug-1235182.t
diff options
context:
space:
mode:
authorvmallika <vmallika@redhat.com>2015-07-07 16:56:12 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-07-21 03:20:18 -0700
commitcb8f419fd8e36b6eb5a48db5694e475cb79553c9 (patch)
tree1e8ea9e9bc7cdf7452fbecfe9d1f3f73e8cb2e9a /tests/bugs/quota/bug-1235182.t
parentc5ba8c0c02309a05e2a4fe7e59990144fcccb6dc (diff)
quota: Fix crash in quota enforcer
This is a backport of http://review.gluster.org/11510 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> Change-Id: Ia7f57276db034e0fc6cd84dbf618ce0d4fae4321 BUG: 1242898 Signed-off-by: vmallika <vmallika@redhat.com> Reviewed-on: http://review.gluster.org/11662 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'tests/bugs/quota/bug-1235182.t')
-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;