[*] Only send ack if requested
This commit is contained in:
parent
603c68f3ca
commit
3650599064
@ -275,11 +275,6 @@ namespace Aurora::IO::FS
|
||||
{
|
||||
DWORD bytesTransferred;
|
||||
|
||||
if (this->bReschedule)
|
||||
{
|
||||
return ScheduleOnce();
|
||||
}
|
||||
|
||||
if (this->bBroken || GetOverlappedResult(this->hFileHandle, &this->ntOverlapped, &bytesTransferred, false))
|
||||
{
|
||||
this->bBroken = true;
|
||||
@ -319,6 +314,7 @@ namespace Aurora::IO::FS
|
||||
bool success {true};
|
||||
|
||||
// if (bAnyTriggered)
|
||||
if (this->whoAsked_.Flags & REQUEST_OPLOCK_OUTPUT_FLAG_ACK_REQUIRED)
|
||||
{
|
||||
success = ScheduleOnce();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user