server: Pass proper async object to queue_irp in device_file_flush.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6c5deaa474
commit
56dfb384c7
|
@ -516,7 +516,7 @@ static int device_file_flush( struct fd *fd, struct async *async )
|
|||
memset( ¶ms, 0, sizeof(params) );
|
||||
params.flush.major = IRP_MJ_FLUSH_BUFFERS;
|
||||
params.flush.file = file->user_ptr;
|
||||
return queue_irp( file, ¶ms, NULL );
|
||||
return queue_irp( file, ¶ms, async );
|
||||
}
|
||||
|
||||
static int device_file_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
|
||||
|
|
Loading…
Reference in New Issue