mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 09:22:57 -05:00
sys: IRP_MJ_READ: implementation
This commit is contained in:
@ -188,7 +188,7 @@ static NTSTATUS FspFsvolWriteCached(
|
||||
return STATUS_INSUFFICIENT_RESOURCES;
|
||||
}
|
||||
|
||||
Result = FspCcCopyWrite(FileObject, &WriteOffset, WriteLength, CanWait || Retrying, Buffer);
|
||||
Result = FspCcCopyWrite(FileObject, &WriteOffset, WriteLength, CanWait, Buffer);
|
||||
if (STATUS_PENDING == Result)
|
||||
{
|
||||
FspFileNodeRelease(FileNode, Main);
|
||||
@ -201,8 +201,8 @@ static NTSTATUS FspFsvolWriteCached(
|
||||
{
|
||||
ASSERT(0 == Irp->MdlAddress);
|
||||
|
||||
Result = FspCcPrepareMdlWrite(FileObject, &WriteOffset, WriteLength,
|
||||
&Irp->MdlAddress, &Irp->IoStatus);
|
||||
Result = FspCcPrepareMdlWrite(FileObject, &WriteOffset, WriteLength, &Irp->MdlAddress,
|
||||
&Irp->IoStatus);
|
||||
if (!NT_SUCCESS(Result))
|
||||
{
|
||||
FspFileNodeRelease(FileNode, Main);
|
||||
|
Reference in New Issue
Block a user