From 14b2a6a190a84ca3dbb334ad518e137625ab316a Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Fri, 7 Oct 2016 05:20:01 +0200 Subject: [PATCH] ntoskrnl.exe: Fix parameters of IoBuildSynchronousFsdRequest in dispatch_flush. Signed-off-by: Sebastian Lackner Signed-off-by: Alexandre Julliard --- dlls/ntoskrnl.exe/ntoskrnl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index d107bd94c6f..cf87f7a9798 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -358,7 +358,7 @@ static NTSTATUS dispatch_flush( const irp_params_t *params, void *in_buff, ULONG TRACE( "device %p file %p\n", device, file ); /* note: we abuse UserIosb to store the server irp handle */ - if (!(irp = IoBuildSynchronousFsdRequest( IRP_MJ_FLUSH_BUFFERS, device, in_buff, in_size, + if (!(irp = IoBuildSynchronousFsdRequest( IRP_MJ_FLUSH_BUFFERS, device, NULL, 0, NULL, NULL, irp_handle ))) return STATUS_NO_MEMORY;