Remove ROS-specific File Object Flags
Modified: trunk/reactos/drivers/fs/ntfs/fcb.c
Modified: trunk/reactos/drivers/fs/ntfs/fsctl.c

Modified: trunk/reactos/drivers/fs/ntfs/fcb.c
--- trunk/reactos/drivers/fs/ntfs/fcb.c	2005-01-05 08:16:00 UTC (rev 12819)
+++ trunk/reactos/drivers/fs/ntfs/fcb.c	2005-01-05 15:16:10 UTC (rev 12820)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: fcb.c,v 1.12 2004/11/24 11:02:15 ekohl Exp $
+/* $Id$
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
@@ -235,8 +235,6 @@
   RtlZeroMemory(newCCB,
 		sizeof(CCB));
 
-  FileObject->Flags = FileObject->Flags | FO_FCB_IS_VALID |
-      FO_DIRECT_CACHE_PAGING_READ;
   FileObject->SectionObjectPointer = &Fcb->SectionObjectPointers;
   FileObject->FsContext = Fcb;
   FileObject->FsContext2 = newCCB;
@@ -406,8 +404,6 @@
     }
   memset(newCCB, 0, sizeof(CCB));
 
-  FileObject->Flags = FileObject->Flags | FO_FCB_IS_VALID |
-      FO_DIRECT_CACHE_PAGING_READ;
   FileObject->SectionObjectPointer = &Fcb->SectionObjectPointers;
   FileObject->FsContext = Fcb;
   FileObject->FsContext2 = newCCB;

Modified: trunk/reactos/drivers/fs/ntfs/fsctl.c
--- trunk/reactos/drivers/fs/ntfs/fsctl.c	2005-01-05 08:16:00 UTC (rev 12819)
+++ trunk/reactos/drivers/fs/ntfs/fsctl.c	2005-01-05 15:16:10 UTC (rev 12820)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: fsctl.c,v 1.11 2004/12/25 11:18:38 navaraf Exp $
+/* $Id$
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
@@ -370,7 +370,6 @@
   RtlZeroMemory(Ccb,
 		sizeof(CCB));
 
-  DeviceExt->StreamFileObject->Flags = DeviceExt->StreamFileObject->Flags | FO_FCB_IS_VALID | FO_DIRECT_CACHE_PAGING_READ;
   DeviceExt->StreamFileObject->FsContext = Fcb;
   DeviceExt->StreamFileObject->FsContext2 = Ccb;
   DeviceExt->StreamFileObject->SectionObjectPointer = &Fcb->SectionObjectPointers;