]> git.ipfire.org Git - thirdparty/qemu.git/commit
gluster: Handle changed glfs_ftruncate signature
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Tue, 5 Mar 2019 15:46:33 +0000 (16:46 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 30 Jul 2019 20:15:46 +0000 (15:15 -0500)
commit37867211d9e88d1059c24261120d6e5c46845f36
tree4c52a0d887de1184b7275b8a2eb7ae93307c228e
parent43a3a1b694366f062b633142a83ff1fe0a7ed89f
gluster: Handle changed glfs_ftruncate signature

New versions of Glusters libgfapi.so have an updated glfs_ftruncate()
function that returns additional 'struct stat' structures to enable
advanced caching of attributes. This is useful for file servers, not so
much for QEMU. Nevertheless, the API has changed and needs to be
adopted.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit e014dbe74e0484188164c61ff6843f8a04a8cb9d)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/gluster.c
configure