[libvirt PATCH 09/31] m4: virt-sanlock: drop check for sanlock_inq_lockspace

Ján Tomko jtomko at redhat.com
Thu Jul 9 14:48:53 UTC 2020

On a Thursday in 2020, Pavel Hrdina wrote:
>This check was introduced by commit
><96a02703daad4dc6663165adbc0feade9900cebd> to guard calling
>sanlock_inq_lockspace() function but it used SANLK_INQ_WAIT as a
>parameter which was introduced later.  This was eventually fixed by
>commit <238dba0f9c925359cb3b8beddd8c8ae739cb4e06>.
>We can safely replace check for sanlock_inq_lockspace as that function
>was introduced in sanlock-1.9.  The oldest used version, sanlock-2.2,
>is by Ubuntu 16.04.
>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> m4/virt-sanlock.m4                | 12 ++++--------
> src/locking/lock_driver_sanlock.c |  2 +-
> 2 files changed, 5 insertions(+), 9 deletions(-)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200709/033f5ebb/attachment-0001.sig>

More information about the libvir-list mailing list