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:
Jacek Caban 2018-01-02 13:56:54 +01:00 committed by Alexandre Julliard
parent 6c5deaa474
commit 56dfb384c7
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ static int device_file_flush( struct fd *fd, struct async *async )
memset( &params, 0, sizeof(params) );
params.flush.major = IRP_MJ_FLUSH_BUFFERS;
params.flush.file = file->user_ptr;
return queue_irp( file, &params, NULL );
return queue_irp( file, &params, async );
}
static int device_file_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )