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
Makefile.objs -rw-r--r-- 588 bytes
ahci-allwinner.c -rw-r--r-- 4.6 KB
ahci.c -rw-r--r-- 55.9 KB
ahci_internal.h -rw-r--r-- 14.8 KB
atapi.c -rw-r--r-- 41.5 KB
cmd646.c -rw-r--r-- 12.0 KB
core.c -rw-r--r-- 83.3 KB
ich.c -rw-r--r-- 6.9 KB
isa.c -rw-r--r-- 3.9 KB
macio.c -rw-r--r-- 13.7 KB
microdrive.c -rw-r--r-- 19.3 KB
mmio.c -rw-r--r-- 5.1 KB
pci.c -rw-r--r-- 13.4 KB
piix.c -rw-r--r-- 8.2 KB
qdev.c -rw-r--r-- 11.0 KB
sii3112.c -rw-r--r-- 10.0 KB
trace-events -rw-r--r-- 10.4 KB
via.c -rw-r--r-- 6.8 KB

back to top