https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dff2d586933614b959cebe...
commit dff2d586933614b959cebeae74176ee68e20948b Author: Thomas Faber thomas.faber@reactos.org AuthorDate: Sun Aug 23 17:05:14 2020 +0200 Commit: Thomas Faber thomas.faber@reactos.org CommitDate: Sun Aug 23 17:05:52 2020 +0200
[NPFS] Set completion routine on the correct IRP in NpTransceive. --- drivers/filesystems/npfs/fsctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/filesystems/npfs/fsctrl.c b/drivers/filesystems/npfs/fsctrl.c index 0c93c8ad1cf..fff67ecd87a 100644 --- a/drivers/filesystems/npfs/fsctrl.c +++ b/drivers/filesystems/npfs/fsctrl.c @@ -566,7 +566,7 @@ NpTransceive(IN PDEVICE_OBJECT DeviceObject, goto Quickie; }
- IoSetCompletionRoutine(Irp, NpCompleteTransceiveIrp, NULL, TRUE, TRUE, TRUE); + IoSetCompletionRoutine(NewIrp, NpCompleteTransceiveIrp, NULL, TRUE, TRUE, TRUE);
if (BytesWritten) {