Removed debugging prints

svn path=/trunk/; revision=1525
This commit is contained in:
David Welch 2001-01-16 15:43:42 +00:00
parent 25dc208536
commit 643441de17
2 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
/* /*
* $Id: fat.c,v 1.14 2001/01/16 09:55:02 dwelch Exp $ * $Id: fat.c,v 1.15 2001/01/16 15:43:42 dwelch Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -216,7 +216,7 @@ FAT16FindAvailableCluster (PDEVICE_EXTENSION DeviceExt,
} }
if (*((PUSHORT)(BaseAddress + ((FatStart + i) % PAGESIZE))) == 0) if (*((PUSHORT)(BaseAddress + ((FatStart + i) % PAGESIZE))) == 0)
{ {
DPRINT1("Found available cluster 0x%x\n", i); DPRINT("Found available cluster 0x%x\n", i);
*Cluster = i / 2; *Cluster = i / 2;
CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE); CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
return(STATUS_SUCCESS); return(STATUS_SUCCESS);
@ -281,7 +281,7 @@ FAT12FindAvailableCluster (PDEVICE_EXTENSION DeviceExt, PULONG Cluster)
} }
if (Entry == 0) if (Entry == 0)
{ {
DPRINT1("Found available cluster 0x%x\n", i); DPRINT("Found available cluster 0x%x\n", i);
*Cluster = i; *Cluster = i;
CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE); CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
} }
@ -464,7 +464,7 @@ FAT12WriteCluster (PDEVICE_EXTENSION DeviceExt, ULONG ClusterToWrite,
CBlock = (PUCHAR)BaseAddress; CBlock = (PUCHAR)BaseAddress;
FATOffset = (ClusterToWrite * 12) / 8; FATOffset = (ClusterToWrite * 12) / 8;
DPRINT1("Writing 0x%x for 0x%x at 0x%x\n", DPRINT("Writing 0x%x for 0x%x at 0x%x\n",
NewValue, ClusterToWrite, FATOffset); NewValue, ClusterToWrite, FATOffset);
if ((ClusterToWrite % 2) == 0) if ((ClusterToWrite % 2) == 0)
{ {
@ -546,7 +546,7 @@ FAT16WriteCluster (PDEVICE_EXTENSION DeviceExt, ULONG ClusterToWrite,
} }
} }
DPRINT1("Writing 0x%x for offset 0x%x 0x%x\n", NewValue, FATOffset, DPRINT("Writing 0x%x for offset 0x%x 0x%x\n", NewValue, FATOffset,
ClusterToWrite); ClusterToWrite);
*((PUSHORT)(BaseAddress + (FATOffset % PAGESIZE))) = NewValue; *((PUSHORT)(BaseAddress + (FATOffset % PAGESIZE))) = NewValue;
Status = VfatWriteSectors(DeviceExt->StorageDevice, Status = VfatWriteSectors(DeviceExt->StorageDevice,
@ -555,7 +555,7 @@ FAT16WriteCluster (PDEVICE_EXTENSION DeviceExt, ULONG ClusterToWrite,
BaseAddress); BaseAddress);
CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE); CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
DPRINT1("DeviceExt->Boot->FATSectors %d\n", DPRINT("DeviceExt->Boot->FATSectors %d\n",
DeviceExt->Boot->FATSectors); DeviceExt->Boot->FATSectors);
FATOffset = FATOffset + DeviceExt->Boot->FATSectors * BLOCKSIZE; FATOffset = FATOffset + DeviceExt->Boot->FATSectors * BLOCKSIZE;
} }

View file

@ -1,5 +1,5 @@
/* $Id: rw.c,v 1.19 2001/01/16 09:55:02 dwelch Exp $ /* $Id: rw.c,v 1.20 2001/01/16 15:43:42 dwelch Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -528,8 +528,8 @@ VfatWriteBigCluster(PDEVICE_EXTENSION DeviceExt,
* If we are writing into the cache or we are writing from a * If we are writing into the cache or we are writing from a
* temporary buffer then copy the data over * temporary buffer then copy the data over
*/ */
DPRINT1("InternalOffset 0x%x InternalLength 0x%x BA %x Byte1 %c\n", DPRINT("InternalOffset 0x%x InternalLength 0x%x BA %x\n",
InternalOffset, InternalLength, BaseAddress, *(PUCHAR)Source); InternalOffset, InternalLength, BaseAddress);
memcpy(BaseAddress + InternalOffset, Source, InternalLength); memcpy(BaseAddress + InternalOffset, Source, InternalLength);
} }
/* /*
@ -770,7 +770,7 @@ VfatWriteFile (PDEVICE_EXTENSION DeviceExt, PFILE_OBJECT FileObject,
NTSTATUS Status; NTSTATUS Status;
BOOLEAN Extend; BOOLEAN Extend;
DPRINT1 ("VfatWriteFile(FileObject %x, Buffer %x, Length %x, " DPRINT ("VfatWriteFile(FileObject %x, Buffer %x, Length %x, "
"WriteOffset %x\n", FileObject, Buffer, Length, WriteOffset); "WriteOffset %x\n", FileObject, Buffer, Length, WriteOffset);
/* Locate the first cluster of the file */ /* Locate the first cluster of the file */