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-- 242 bytes
addr.c -rw-r--r-- 1.6 KB
boston.c -rw-r--r-- 17.9 KB
cps.c -rw-r--r-- 6.0 KB
gt64xxx_pci.c -rw-r--r-- 36.9 KB
mips_fulong2e.c -rw-r--r-- 12.5 KB
mips_int.c -rw-r--r-- 2.3 KB
mips_jazz.c -rw-r--r-- 13.1 KB
mips_malta.c -rw-r--r-- 48.6 KB
mips_mipssim.c -rw-r--r-- 7.7 KB
mips_r4k.c -rw-r--r-- 9.5 KB

back to top