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
* PROJECT: ReactOS kernel
@ -216,7 +216,7 @@ FAT16FindAvailableCluster (PDEVICE_EXTENSION DeviceExt,
}
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;
CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
return(STATUS_SUCCESS);
@ -281,7 +281,7 @@ FAT12FindAvailableCluster (PDEVICE_EXTENSION DeviceExt, PULONG Cluster)
}
if (Entry == 0)
{
DPRINT1("Found available cluster 0x%x\n", i);
DPRINT("Found available cluster 0x%x\n", i);
*Cluster = i;
CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
}
@ -464,7 +464,7 @@ FAT12WriteCluster (PDEVICE_EXTENSION DeviceExt, ULONG ClusterToWrite,
CBlock = (PUCHAR)BaseAddress;
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);
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);
*((PUSHORT)(BaseAddress + (FATOffset % PAGESIZE))) = NewValue;
Status = VfatWriteSectors(DeviceExt->StorageDevice,
@ -555,7 +555,7 @@ FAT16WriteCluster (PDEVICE_EXTENSION DeviceExt, ULONG ClusterToWrite,
BaseAddress);
CcReleaseCacheSegment(DeviceExt->StorageBcb, CacheSeg, TRUE);
DPRINT1("DeviceExt->Boot->FATSectors %d\n",
DPRINT("DeviceExt->Boot->FATSectors %d\n",
DeviceExt->Boot->FATSectors);
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
* PROJECT: ReactOS kernel
@ -528,8 +528,8 @@ VfatWriteBigCluster(PDEVICE_EXTENSION DeviceExt,
* If we are writing into the cache or we are writing from a
* temporary buffer then copy the data over
*/
DPRINT1("InternalOffset 0x%x InternalLength 0x%x BA %x Byte1 %c\n",
InternalOffset, InternalLength, BaseAddress, *(PUCHAR)Source);
DPRINT("InternalOffset 0x%x InternalLength 0x%x BA %x\n",
InternalOffset, InternalLength, BaseAddress);
memcpy(BaseAddress + InternalOffset, Source, InternalLength);
}
/*
@ -770,7 +770,7 @@ VfatWriteFile (PDEVICE_EXTENSION DeviceExt, PFILE_OBJECT FileObject,
NTSTATUS Status;
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);
/* Locate the first cluster of the file */