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

back to top