mirror of
https://github.com/reactos/reactos.git
synced 2025-07-05 13:21:23 +00:00
Silenced debug messages.
svn path=/trunk/; revision=6602
This commit is contained in:
parent
27fd6387f1
commit
94e9ddef83
2 changed files with 16 additions and 17 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: blockdev.c,v 1.2 2002/05/15 18:02:59 ekohl Exp $
|
/* $Id: blockdev.c,v 1.3 2003/11/10 17:09:29 ekohl Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -153,9 +153,9 @@ FsRecDeviceIoControl(IN PDEVICE_OBJECT DeviceObject,
|
||||||
Status = IoStatus.Status;
|
Status = IoStatus.Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OutputBufferSize)
|
if (OutputBufferSize != NULL)
|
||||||
{
|
{
|
||||||
*OutputBufferSize = BufferSize;
|
*OutputBufferSize = IoStatus.Information;
|
||||||
}
|
}
|
||||||
|
|
||||||
ExFreePool(Event);
|
ExFreePool(Event);
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: udfs.c,v 1.1 2003/01/16 11:58:15 ekohl Exp $
|
/* $Id: udfs.c,v 1.2 2003/11/10 17:09:29 ekohl Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -94,7 +94,7 @@ FsRecCheckVolumeRecognitionSequence(IN PDEVICE_OBJECT DeviceObject,
|
||||||
Buffer);
|
Buffer);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("FsRecReadSectors() failed (Status %lx)\n", Status);
|
DPRINT ("FsRecReadSectors() failed (Status %lx)\n", Status);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ FsRecCheckVolumeRecognitionSequence(IN PDEVICE_OBJECT DeviceObject,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DPRINT1("VRS start sector is not 'BEA01'\n");
|
DPRINT ("VRS start sector is not 'BEA01'\n");
|
||||||
ExFreePool(Buffer);
|
ExFreePool(Buffer);
|
||||||
return(STATUS_UNRECOGNIZED_VOLUME);
|
return(STATUS_UNRECOGNIZED_VOLUME);
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ FsRecCheckVolumeRecognitionSequence(IN PDEVICE_OBJECT DeviceObject,
|
||||||
(Buffer[4] == '0') &&
|
(Buffer[4] == '0') &&
|
||||||
(Buffer[5] == '1'))
|
(Buffer[5] == '1'))
|
||||||
{
|
{
|
||||||
DPRINT1("Found 'TEA01'\n");
|
DPRINT ("Found 'TEA01'\n");
|
||||||
ExFreePool(Buffer);
|
ExFreePool(Buffer);
|
||||||
return(STATUS_SUCCESS);
|
return(STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
@ -148,7 +148,7 @@ FsRecCheckVolumeRecognitionSequence(IN PDEVICE_OBJECT DeviceObject,
|
||||||
Sector++;
|
Sector++;
|
||||||
if (Sector == UDFS_AVDP_SECTOR)
|
if (Sector == UDFS_AVDP_SECTOR)
|
||||||
{
|
{
|
||||||
DPRINT1("No 'TEA01' found\n");
|
DPRINT ("No 'TEA01' found\n");
|
||||||
ExFreePool(Buffer);
|
ExFreePool(Buffer);
|
||||||
return(STATUS_UNRECOGNIZED_VOLUME);
|
return(STATUS_UNRECOGNIZED_VOLUME);
|
||||||
}
|
}
|
||||||
|
@ -184,24 +184,24 @@ FsRecCheckAnchorVolumeDescriptorPointer(IN PDEVICE_OBJECT DeviceObject,
|
||||||
Buffer);
|
Buffer);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("FsRecReadSectors() failed (Status %lx)\n", Status);
|
DPRINT ("FsRecReadSectors() failed (Status %lx)\n", Status);
|
||||||
ExFreePool(Buffer);
|
ExFreePool(Buffer);
|
||||||
return(Status);
|
return(Status);
|
||||||
}
|
}
|
||||||
|
|
||||||
Avdp = (PAVDP)Buffer;
|
Avdp = (PAVDP)Buffer;
|
||||||
DPRINT1("Descriptor identifier: %hu\n", Avdp->DescriptorTag.Identifier);
|
DPRINT ("Descriptor identifier: %hu\n", Avdp->DescriptorTag.Identifier);
|
||||||
|
|
||||||
DPRINT1("Main volume descriptor sequence location: %lu\n",
|
DPRINT ("Main volume descriptor sequence location: %lu\n",
|
||||||
Avdp->MainVolumeDescriptorExtent.Location);
|
Avdp->MainVolumeDescriptorExtent.Location);
|
||||||
|
|
||||||
DPRINT1("Main volume descriptor sequence length: %lu\n",
|
DPRINT ("Main volume descriptor sequence length: %lu\n",
|
||||||
Avdp->MainVolumeDescriptorExtent.Length);
|
Avdp->MainVolumeDescriptorExtent.Length);
|
||||||
|
|
||||||
DPRINT1("Reserve volume descriptor sequence location: %lu\n",
|
DPRINT ("Reserve volume descriptor sequence location: %lu\n",
|
||||||
Avdp->ReserveVolumeDescriptorExtent.Location);
|
Avdp->ReserveVolumeDescriptorExtent.Location);
|
||||||
|
|
||||||
DPRINT1("Reserve volume descriptor sequence length: %lu\n",
|
DPRINT ("Reserve volume descriptor sequence length: %lu\n",
|
||||||
Avdp->ReserveVolumeDescriptorExtent.Length);
|
Avdp->ReserveVolumeDescriptorExtent.Length);
|
||||||
|
|
||||||
ExFreePool(Buffer);
|
ExFreePool(Buffer);
|
||||||
|
@ -227,10 +227,10 @@ FsRecIsUdfsVolume(IN PDEVICE_OBJECT DeviceObject)
|
||||||
&Size);
|
&Size);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DPRINT1("FsRecDeviceIoControl() failed (Status %lx)\n", Status);
|
DPRINT ("FsRecDeviceIoControl() failed (Status %lx)\n", Status);
|
||||||
return(Status);
|
return(Status);
|
||||||
}
|
}
|
||||||
DPRINT1("BytesPerSector: %lu\n", DiskGeometry.BytesPerSector);
|
DPRINT ("BytesPerSector: %lu\n", DiskGeometry.BytesPerSector);
|
||||||
|
|
||||||
/* Check the volume recognition sequence */
|
/* Check the volume recognition sequence */
|
||||||
Status = FsRecCheckVolumeRecognitionSequence(DeviceObject,
|
Status = FsRecCheckVolumeRecognitionSequence(DeviceObject,
|
||||||
|
@ -243,7 +243,6 @@ FsRecIsUdfsVolume(IN PDEVICE_OBJECT DeviceObject)
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
return(Status);
|
return(Status);
|
||||||
|
|
||||||
|
|
||||||
return(STATUS_SUCCESS);
|
return(STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue