From 84ecb016cd2f1c8853c22e2df7d44d6c7bf32ed7 Mon Sep 17 00:00:00 2001 From: vmallika Date: Tue, 7 Jul 2015 16:56:12 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/11510 Tested-by: NetBSD Build System Reviewed-by: Raghavendra G --- tests/bugs/quota/bug-1235182.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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; -- cgit