mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-24 17:32:29 -05:00
sys: read/write testing
This commit is contained in:
parent
01cca2c144
commit
d9f4382225
@ -272,10 +272,6 @@ NTSTATUS FspCcCopyRead(PFILE_OBJECT FileObject, PLARGE_INTEGER FileOffset, ULONG
|
|||||||
except (EXCEPTION_EXECUTE_HANDLER)
|
except (EXCEPTION_EXECUTE_HANDLER)
|
||||||
{
|
{
|
||||||
Result = GetExceptionCode();
|
Result = GetExceptionCode();
|
||||||
}
|
|
||||||
|
|
||||||
if (!NT_SUCCESS(Result))
|
|
||||||
{
|
|
||||||
IoStatus->Information = 0;
|
IoStatus->Information = 0;
|
||||||
IoStatus->Status = Result;
|
IoStatus->Status = Result;
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ static VOID FspWqWorkRoutine(PVOID Context)
|
|||||||
|
|
||||||
IoSetTopLevelIrp(Irp);
|
IoSetTopLevelIrp(Irp);
|
||||||
|
|
||||||
Result = WorkRoutine(IrpSp->DeviceObject, Irp, IrpSp, FALSE);
|
Result = WorkRoutine(IrpSp->DeviceObject, Irp, IrpSp, TRUE);
|
||||||
if (STATUS_PENDING != Result)
|
if (STATUS_PENDING != Result)
|
||||||
{
|
{
|
||||||
DEBUGLOGIRP(Irp, Result);
|
DEBUGLOGIRP(Irp, Result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user