mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 04:10:04 +00:00
ntoskrnl.exe: Fix parameters of IoBuildSynchronousFsdRequest in dispatch_flush.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
54c68c6533
commit
14b2a6a190
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user