1
0
mirror of https://github.com/winfsp/winfsp.git synced 2025-12-26 22:12:44 -06:00

sys: ioq: now supports IRP expiration

This commit is contained in:
Bill Zissimopoulos
2015-12-16 10:43:33 -08:00
parent 3ae924e3f9
commit 9e82247366
6 changed files with 72 additions and 14 deletions

View File

@@ -71,7 +71,7 @@ NTSTATUS FspIopCreateRequestEx(
}
if (0 != Irp)
FspIopRequest(Irp) = Request;
FspIrpRequest(Irp) = Request;
*PRequest = Request;
return STATUS_SUCCESS;
@@ -152,10 +152,10 @@ VOID FspIopCompleteIrpEx(PIRP Irp, NTSTATUS Result, BOOLEAN DeviceRelease)
ASSERT(STATUS_PENDING != Result);
if (0 != FspIopRequest(Irp))
if (0 != FspIrpRequest(Irp))
{
FspIopDeleteRequest(FspIopRequest(Irp));
FspIopRequest(Irp) = 0;
FspIopDeleteRequest(FspIrpRequest(Irp));
FspIrpRequest(Irp) = 0;
}
/* get the device object out of the IRP before completion */