Replies: 1 comment
|
The If we had to do something here, I tend to say that we could remove |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In DokanDispatchWrite, there is code:
...
if (RequestContext->Irp->MdlAddress) {
buffer =
MmGetSystemAddressForMdlNormalSafe(RequestContext->Irp->MdlAddress);
} else {
buffer = RequestContext->Irp->UserBuffer;
}
...
Any Condition will use Irp->UserBuffer? I think the the volDeviceObject->Flags has set DO_DIRECT_IO in DokanMountVolume, maybe it always use mdladdress?
All reactions