Commit 56dfb384 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

server: Pass proper async object to queue_irp in device_file_flush.

parent 6c5deaa4
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment