Debug output cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4761 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -59,8 +59,8 @@ PartitionMap::Find(uint32 partitionNumber) const
|
|||||||
SinglyLinkedList<Udf::udf_partition_descriptor>::ConstIterator i;
|
SinglyLinkedList<Udf::udf_partition_descriptor>::ConstIterator i;
|
||||||
for (i = fList.Begin(); i != fList.End(); ++i) {
|
for (i = fList.Begin(); i != fList.End(); ++i) {
|
||||||
if (i->partition_number() == partitionNumber) {
|
if (i->partition_number() == partitionNumber) {
|
||||||
PRINT(("found partition #%ld\n", partitionNumber));
|
PRINT(("found partition #%ld, start == %ld, length == %ld\n", partitionNumber,
|
||||||
DUMP(*i);
|
i->start(), i->length()));
|
||||||
return &(*i);
|
return &(*i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -120,10 +120,6 @@ Volume::MapBlock(udf_long_address address, off_t *mappedBlock)
|
|||||||
const udf_partition_descriptor* partition = fPartitionMap.Find(address.partition());
|
const udf_partition_descriptor* partition = fPartitionMap.Find(address.partition());
|
||||||
err = partition ? B_OK : B_BAD_ADDRESS;
|
err = partition ? B_OK : B_BAD_ADDRESS;
|
||||||
if (!err) {
|
if (!err) {
|
||||||
PRINT(("Offset(): %Ld, partition->start(): %ld, address.block(): %ld\n", Offset(),
|
|
||||||
partition->start(), address.block()));
|
|
||||||
PRINT(("partition:\n"));
|
|
||||||
PDUMP(partition);
|
|
||||||
*mappedBlock = partition->start() + address.block();
|
*mappedBlock = partition->start() + address.block();
|
||||||
}
|
}
|
||||||
if (!err) {
|
if (!err) {
|
||||||
@@ -392,7 +388,8 @@ Volume::_WalkAnchorVolumeDescriptorSequences()
|
|||||||
{
|
{
|
||||||
DEBUG_INIT(CF_PRIVATE | CF_VOLUME_OPS, "Volume");
|
DEBUG_INIT(CF_PRIVATE | CF_VOLUME_OPS, "Volume");
|
||||||
const uint8 avds_location_count = 4;
|
const uint8 avds_location_count = 4;
|
||||||
const off_t avds_locations[avds_location_count] = { 256,
|
const off_t avds_locations[avds_location_count] = {
|
||||||
|
256,
|
||||||
Length()-256,
|
Length()-256,
|
||||||
Length(),
|
Length(),
|
||||||
512,
|
512,
|
||||||
|
|||||||
Reference in New Issue
Block a user