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-- 233 bytes
riscv_hart.c -rw-r--r-- 2.4 KB
riscv_htif.c -rw-r--r-- 8.8 KB
sifive_clint.c -rw-r--r-- 8.6 KB
sifive_e.c -rw-r--r-- 9.0 KB
sifive_plic.c -rw-r--r-- 16.7 KB
sifive_prci.c -rw-r--r-- 2.5 KB
sifive_test.c -rw-r--r-- 2.5 KB
sifive_u.c -rw-r--r-- 15.8 KB
sifive_uart.c -rw-r--r-- 4.4 KB
spike.c -rw-r--r-- 13.7 KB
virt.c -rw-r--r-- 15.6 KB

back to top