]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: fix mingw 5.0.3 compatibility issue
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 25 Feb 2021 20:44:22 +0000 (20:44 +0000)
committerJason Dillaman <dillaman@redhat.com>
Fri, 26 Feb 2021 00:08:55 +0000 (19:08 -0500)
commita870961fdec576815c6a5f956b43581e88731ac6
treea191bca35a9ca98d9f92d27120c2376a222a7483
parentf30f1d7614e66f3d59369adf1fd07d2b660bd7cc
rbd: fix mingw 5.0.3 compatibility issue

GetOverlappedResultEx isn't avaialable when using mingw 5.0.3
(default on Ubuntu Bionic).

Since we don't really need the extra parameters, we'll switch
to GetOverlappedResult.

We're doing this mostly for testing purposes as the mingw 5.0.3
runtime is known to be broken.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit 7eae54cb4c4ee26fdaff9599a627edd2d281de8a)
src/tools/rbd_wnbd/rbd_wnbd.cc