apply this patch to latest svn and send me debug log
Index: create.c =================================================================== --- create.c (revision 17328) +++ create.c (working copy) @@ -445,7 +445,7 @@ PDEVICE_EXTENSION DeviceExt; ULONG RequestedDisposition, RequestedOptions; PVFATCCB pCcb; - PVFATFCB pFcb; + PVFATFCB pFcb = NULL; PVFATFCB ParentFcb; PWCHAR c, last; BOOLEAN PagingFileCreate = FALSE; @@ -564,6 +564,10 @@ vfatReleaseFCB (DeviceExt, ParentFcb); if (NT_SUCCESS (Status)) { +#if defined(DBG) || defined(KDBG) + ASSERT ( pFcb ); + CcRosTraceCacheMap ( pFcb->SectionObjectPointers.SharedCacheMap, TRUE ); +#endif Status = vfatAttachFCBToFileObject (DeviceExt, pFcb, FileObject); if ( !NT_SUCCESS(Status) ) { @@ -577,6 +581,9 @@ pFcb, DeviceExt, &Irp->Overlay.AllocationSize); +#if defined(DBG) || defined(KDBG) + CcRosTraceCacheMap ( FileObject->SectionObjectPointer->SharedCacheMap, FALSE ); +#endif VfatSetExtendedAttributes(FileObject, Irp->AssociatedIrp.SystemBuffer, Stack->Parameters.Create.EaLength);
Royce Mitchell III wrote:
apply this patch to latest svn and send me debug log
Index: create.c
--- create.c (revision 17328) +++ create.c (working copy) @@ -445,7 +445,7 @@ PDEVICE_EXTENSION DeviceExt; ULONG RequestedDisposition, RequestedOptions; PVFATCCB pCcb;
- PVFATFCB pFcb;
- PVFATFCB pFcb = NULL; PVFATFCB ParentFcb; PWCHAR c, last; BOOLEAN PagingFileCreate = FALSE;
@@ -564,6 +564,10 @@ vfatReleaseFCB (DeviceExt, ParentFcb); if (NT_SUCCESS (Status)) { +#if defined(DBG) || defined(KDBG)
ASSERT ( pFcb );CcRosTraceCacheMap ( pFcb->SectionObjectPointers.SharedCacheMap, TRUE );+#endif Status = vfatAttachFCBToFileObject (DeviceExt, pFcb, FileObject); if ( !NT_SUCCESS(Status) ) { @@ -577,6 +581,9 @@ pFcb, DeviceExt, &Irp->Overlay.AllocationSize); +#if defined(DBG) || defined(KDBG)
CcRosTraceCacheMap ( FileObject->SectionObjectPointer->SharedCacheMap, FALSE );+#endif VfatSetExtendedAttributes(FileObject, Irp->AssociatedIrp.SystemBuffer, Stack->Parameters.Create.EaLength);
Ros-dev mailing list Ros-dev@reactos.com http://reactos.com:8080/mailman/listinfo/ros-dev
oops, sorry, apply this patch to drivers/fs/vfat/create.c