[MOUNTMGR]
authorPierre Schweitzer <pierre@reactos.org>
Tue, 29 Sep 2015 18:22:38 +0000 (18:22 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Tue, 29 Sep 2015 18:22:38 +0000 (18:22 +0000)
Remove last hack

svn path=/trunk/; revision=69415

reactos/drivers/filters/mountmgr/database.c
reactos/drivers/filters/mountmgr/mntmgr.h

index 3898604..9053420 100644 (file)
@@ -1714,7 +1714,7 @@ CreateRemoteDatabaseWorker(IN PDEVICE_OBJECT DeviceObject,
 
     Status = IoCreateFile(&Database,
                           SYNCHRONIZE | READ_CONTROL | FILE_WRITE_ATTRIBUTES |
-                          FILE_READ_ATTRIBUTES | FILE_WRITE_PROPERTIES | FILE_READ_PROPERTIES |
+                          FILE_READ_ATTRIBUTES | FILE_WRITE_EA | FILE_READ_EA |
                           FILE_APPEND_DATA | FILE_WRITE_DATA | FILE_READ_DATA,
                           &ObjectAttributes,
                           &IoStatusBlock,
@@ -1852,7 +1852,7 @@ OpenRemoteDatabase(IN PDEVICE_INFORMATION DeviceInformation,
 
     Status = IoCreateFile(&Database,
                           SYNCHRONIZE | READ_CONTROL | FILE_WRITE_ATTRIBUTES |
-                          FILE_READ_ATTRIBUTES | FILE_WRITE_PROPERTIES | FILE_READ_PROPERTIES |
+                          FILE_READ_ATTRIBUTES | FILE_WRITE_EA | FILE_READ_EA |
                           FILE_APPEND_DATA | FILE_WRITE_DATA | FILE_READ_DATA,
                           &ObjectAttributes,
                           &IoStatusBlock,
index edf8c3b..090d060 100644 (file)
 #define INIT_SECTION /* Done via alloc_text for MSC */
 #endif
 
-/* Enter FIXME */
-#define FILE_READ_PROPERTIES  0x00000008
-#define FILE_WRITE_PROPERTIES 0x00000010
-/* Leave FIXME */
-
 typedef struct _DEVICE_EXTENSION
 {
     PDEVICE_OBJECT DeviceObject;           // 0x0