Replies: 1 comment
-
The If we had to do something here, I tend to say that we could remove |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions