forked from virtio-win/kvm-guest-drivers-windows
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[viostor] Fix returning SUCCESS when really -ENOSPC (regression)
1. Refactored to only return TRUE when add_buffer_req_status == VQ_ADD_BUFFER_SUCCESS. 2. Pro-actively refactors calls to InterlockedIncrement() back to the add_buffer_req_status == VQ_ADD_BUFFER_SUCCESS path. Impacts: RhelDoFlush(), RhelDoReadWrite(), RhelDoUnMap() and RhelGetSerialNumber(). Regression introduced with PR virtio-win#1174 (379f291). Will likely resolve issue virtio-win#1204 (RHEL-70446), unlikely to resolve issue virtio-win#907. My bad... 8^d Signed-off-by: benyamin-codez <[email protected]>
- Loading branch information
1 parent
dd928f1
commit 0743398
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters