diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-03-30 19:43:13 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2017-04-03 17:11:39 +0200 |
commit | fce5d5386d8613e9659f1edc4be9c3f8b7cff073 (patch) | |
tree | 6a6d3f4f6ef17f5f6716eafc8eecc70cf3d9e46a /blockdev.c | |
parent | 129c7d1c536d0c67a8781cb09fb5bdb3d0f6a2d0 (diff) |
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 <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Message-id: 1490895797-29094-6-git-send-email-armbru@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions