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
File | Mode | Size |
---|---|---|
Makefile.objs | -rw-r--r-- | 797 bytes |
baum.c | -rw-r--r-- | 22.2 KB |
char-console.c | -rw-r--r-- | 1.9 KB |
char-fd.c | -rw-r--r-- | 4.6 KB |
char-fe.c | -rw-r--r-- | 8.8 KB |
char-file.c | -rw-r--r-- | 3.9 KB |
char-io.c | -rw-r--r-- | 4.3 KB |
char-mux.c | -rw-r--r-- | 11.3 KB |
char-null.c | -rw-r--r-- | 1.8 KB |
char-parallel.c | -rw-r--r-- | 8.7 KB |
char-pipe.c | -rw-r--r-- | 5.5 KB |
char-pty.c | -rw-r--r-- | 8.2 KB |
char-ringbuf.c | -rw-r--r-- | 6.8 KB |
char-serial.c | -rw-r--r-- | 8.3 KB |
char-socket.c | -rw-r--r-- | 37.1 KB |
char-stdio.c | -rw-r--r-- | 4.5 KB |
char-udp.c | -rw-r--r-- | 7.0 KB |
char-win-stdio.c | -rw-r--r-- | 7.7 KB |
char-win.c | -rw-r--r-- | 6.3 KB |
char.c | -rw-r--r-- | 30.1 KB |
msmouse.c | -rw-r--r-- | 5.4 KB |
spice.c | -rw-r--r-- | 10.9 KB |
testdev.c | -rw-r--r-- | 3.5 KB |
trace-events | -rw-r--r-- | 611 bytes |
wctablet.c | -rw-r--r-- | 10.3 KB |
Computing file changes ...