https://git.reactos.org/?p=reactos.git;a=commitdiff;h=40162252693a3a59b6d28d...
commit 40162252693a3a59b6d28d6f8d19a52c92a7cb22 Author: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org AuthorDate: Fri Aug 16 18:14:19 2019 +0200 Commit: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org CommitDate: Sun Aug 18 15:26:23 2019 +0200
[FFS] Silence some only-informative KdPrints. --- drivers/filesystems/ffs/src/fsctl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/filesystems/ffs/src/fsctl.c b/drivers/filesystems/ffs/src/fsctl.c index 175b3258202..1542c63df5e 100644 --- a/drivers/filesystems/ffs/src/fsctl.c +++ b/drivers/filesystems/ffs/src/fsctl.c @@ -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))