• M
    quorum: Simplify quorum_open() · 8a87f3d7
    Max Reitz 提交于
    Although it may not look like it, this patch simplifies quorum_open().
    qdict_array_split() is now able to return QLists with different objects
    than only QDicts, therefore it will now do all the work and
    quorum_open() does not have to handle reference strings by itself.
    
    This allows mixing full option dicts and reference strings for
    specifying the child block devices of quorum; furthermore, it improves
    handling of malformed specifications.
    Signed-off-by: NMax Reitz <mreitz@redhat.com>
    Reviewed-by: NBenoit Canet <benoit@irqsave.net>
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    8a87f3d7
quorum.c 24.0 KB