Revision 808b27d464287666821483257289b1a3379264b2 authored by Alberto Garcia on 18 October 2018, 08:59:03 UTC, committed by Kevin Wolf on 05 November 2018, 14:09:54 UTC
The blkverify mode of Quorum only works when the number of children is
exactly two, so any attempt to add a new one must return an error.

quorum_del_child() on the other hand doesn't need any additional check
because decreasing the number of children would make it go under the
vote threshold.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
1 parent 82c4c85
History
File Mode Size
aarch64-core.xml -rw-r--r-- 1.5 KB
aarch64-fpu.xml -rw-r--r-- 3.3 KB
arm-core.xml -rw-r--r-- 1.1 KB
arm-neon.xml -rw-r--r-- 3.9 KB
arm-vfp.xml -rw-r--r-- 1.2 KB
arm-vfp3.xml -rw-r--r-- 2.0 KB
cf-core.xml -rw-r--r-- 1.1 KB
cf-fp.xml -rw-r--r-- 1.0 KB
i386-32bit-core.xml -rw-r--r-- 2.7 KB
i386-32bit-sse.xml -rw-r--r-- 2.0 KB
i386-32bit.xml -rw-r--r-- 480 bytes
i386-64bit-core.xml -rw-r--r-- 3.0 KB
i386-64bit-sse.xml -rw-r--r-- 2.4 KB
i386-64bit.xml -rw-r--r-- 477 bytes
m68k-fp.xml -rw-r--r-- 1021 bytes
power-altivec.xml -rw-r--r-- 2.4 KB
power-core.xml -rw-r--r-- 2.1 KB
power-fpu.xml -rw-r--r-- 2.0 KB
power-spe.xml -rw-r--r-- 1.5 KB
power-vsx.xml -rw-r--r-- 2.0 KB
power64-core.xml -rw-r--r-- 2.1 KB
s390-acr.xml -rw-r--r-- 1.4 KB
s390-cr.xml -rw-r--r-- 1.3 KB
s390-fpr.xml -rw-r--r-- 1.4 KB
s390-gs.xml -rw-r--r-- 578 bytes
s390-virt.xml -rw-r--r-- 859 bytes
s390-vx.xml -rw-r--r-- 2.4 KB
s390x-core64.xml -rw-r--r-- 1.5 KB

back to top