Jacek Caban : server: Pass proper async object to queue_irp in device_file_flush.

Alexandre Julliard julliard at winehq.org
Tue Jan 2 13:19:02 CST 2018


Module: wine
Branch: master
Commit: 56dfb384c7b44d657cf498f6eda60b66d4a97664
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=56dfb384c7b44d657cf498f6eda60b66d4a97664

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Jan  2 13:56:54 2018 +0100

server: Pass proper async object to queue_irp in device_file_flush.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 server/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/device.c b/server/device.c
index 65ae659..dcc2946 100644
--- a/server/device.c
+++ b/server/device.c
@@ -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 )




More information about the wine-cvs mailing list