[0.4.9][FFS] Silence some only-informative KdPrints.

picked from 0.4.13-dev-924-g 4016225269
This commit is contained in:
Joachim Henze 2020-12-21 07:54:37 +01:00
parent 9fdd9cf24c
commit 9ff6310cdc

View file

@ -159,13 +159,13 @@ FFSLoadDiskLabel(
if (Disklabel->d_magic == DISKMAGIC)
{
KdPrint(("FFSLoadDiskLabel() Disklabel magic ok\n"));
FFSPrint((DBG_INFO, "FFSLoadDiskLabel() Disklabel magic ok\n"));
Status = STATUS_SUCCESS;
}
else
{
KdPrint(("FFSLoadDiskLabel() No BSD disklabel found, trying to find BSD file system on \"normal\" partition.\n"));
FFSPrint((DBG_INFO, "FFSLoadDiskLabel() No BSD disklabel found, trying to find BSD file system on \"normal\" partition.\n"));
if ((FFSSb = FFSLoadSuper(Vcb, FALSE, FSOffset + SBLOCK_UFS1)) &&
(FFSSb->fs_magic == FS_UFS1_MAGIC))
@ -213,7 +213,7 @@ FFSLoadDiskLabel(
}
else
{
KdPrint(("FFSLoadDiskLabel() No BSD file system was found on the \"normal\" partition.\n"));
FFSPrint((DBG_INFO, "FFSLoadDiskLabel() No BSD file system was found on the \"normal\" partition.\n"));
#ifdef __REACTOS__
ExFreePoolWithTag(Disklabel, FFS_POOL_TAG);
#endif
@ -225,7 +225,7 @@ FFSLoadDiskLabel(
Status = FFSGetPartition(DeviceObject, &StartOffset);
if (!NT_SUCCESS(Status))
{
KdPrint(("FFSLoadDiskLabel() Slice info failed, Status %u\n", Status));
FFSPrint((DBG_ERROR, "FFSLoadDiskLabel() Slice info failed, Status %u\n", Status));
#ifdef __REACTOS__
ExFreePoolWithTag(Disklabel, FFS_POOL_TAG);
#endif
@ -234,7 +234,7 @@ FFSLoadDiskLabel(
Vcb->PartitionNumber = FFSGlobal->PartitionNumber;
KdPrint(("FFSLoadDiskLabel() Selected BSD Label : %d, StartOffset : %x\n", Vcb->PartitionNumber, StartOffset));
FFSPrint((DBG_INFO, "FFSLoadDiskLabel() Selected BSD Label : %d, StartOffset : %x\n", Vcb->PartitionNumber, StartOffset));
for (i = 0; i < MAXPARTITIONS; i++)
{
@ -247,7 +247,7 @@ FFSLoadDiskLabel(
Vcb->FSOffset[i] = FSOffset;
/* Important */
KdPrint(("FFSLoadDiskLabel() Label %d, FS_BSDFFS, %x\n", i, Vcb->FSOffset[i]));
FFSPrint((DBG_INFO, "FFSLoadDiskLabel() Label %d, FS_BSDFFS, %x\n", i, Vcb->FSOffset[i]));
if ((FFSSb = FFSLoadSuper(Vcb, FALSE, FSOffset + SBLOCK_UFS1)) &&
(FFSSb->fs_magic == FS_UFS1_MAGIC))