]> Git Repo - qemu.git/commit
gluster: Prepare for SocketAddressFlat extension
authorMarkus Armbruster <[email protected]>
Thu, 30 Mar 2017 17:43:13 +0000 (19:43 +0200)
committerMax Reitz <[email protected]>
Mon, 3 Apr 2017 15:11:39 +0000 (17:11 +0200)
commitfce5d5386d8613e9659f1edc4be9c3f8b7cff073
tree6a6d3f4f6ef17f5f6716eafc8eecc70cf3d9e46a
parent129c7d1c536d0c67a8781cb09fb5bdb3d0f6a2d0
gluster: Prepare for SocketAddressFlat extension

qemu_gluster_glfs_init() and qemu_gluster_parse_json() rely on the
fact that SocketAddressFlatType has only two members
SOCKET_ADDRESS_FLAT_TYPE_INET and SOCKET_ADDRESS_FLAT_TYPE_UNIX.
Correct, but won't stay correct.  Make them more robust.

Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Reviewed-by: Jeff Cody <[email protected]>
Message-id: 1490895797[email protected]
Signed-off-by: Max Reitz <[email protected]>
block/gluster.c
This page took 0.025635 seconds and 4 git commands to generate.