Author: cwittich
Date: Wed Nov 21 19:01:59 2007
New Revision: 30633
URL:
http://svn.reactos.org/svn/reactos?rev=30633&view=rev
Log:
don't assign DO_DIRECT_IO directly to DeviceObject->Flags
Modified:
trunk/reactos/drivers/filesystems/mup/mup.c
trunk/reactos/drivers/filesystems/mup/mup.h
trunk/reactos/drivers/filesystems/npfs/npfs.c
Modified: trunk/reactos/drivers/filesystems/mup/mup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/mup/mu…
==============================================================================
--- trunk/reactos/drivers/filesystems/mup/mup.c (original)
+++ trunk/reactos/drivers/filesystems/mup/mup.c Wed Nov 21 19:01:59 2007
@@ -72,7 +72,7 @@
}
/* Initialize driver data */
- DeviceObject->Flags = DO_DIRECT_IO;
+ DeviceObject->Flags |= DO_DIRECT_IO;
// DriverObject->MajorFunction[IRP_MJ_CLOSE] = NtfsClose;
DriverObject->MajorFunction[IRP_MJ_CREATE] = MupCreate;
DriverObject->MajorFunction[IRP_MJ_CREATE_NAMED_PIPE] = MupCreate;
Modified: trunk/reactos/drivers/filesystems/mup/mup.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/mup/mu…
==============================================================================
--- trunk/reactos/drivers/filesystems/mup/mup.h (original)
+++ trunk/reactos/drivers/filesystems/mup/mup.h Wed Nov 21 19:01:59 2007
@@ -18,7 +18,7 @@
/* create.c */
-
+DRIVER_DISPATCH MupCreate;
NTSTATUS STDCALL
MupCreate(PDEVICE_OBJECT DeviceObject,
PIRP Irp);
Modified: trunk/reactos/drivers/filesystems/npfs/npfs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/npfs/n…
==============================================================================
--- trunk/reactos/drivers/filesystems/npfs/npfs.c (original)
+++ trunk/reactos/drivers/filesystems/npfs/npfs.c Wed Nov 21 19:01:59 2007
@@ -69,7 +69,7 @@
}
/* initialize the device object */
- DeviceObject->Flags = DO_DIRECT_IO;
+ DeviceObject->Flags |= DO_DIRECT_IO;
/* initialize the device extension */
DeviceExtension = DeviceObject->DeviceExtension;