part_block: properly indent code

Issue #3223.
This commit is contained in:
Josef Söntgen 2019-03-10 14:36:27 +01:00 committed by Christian Helmuth
parent cb2ebd0bf7
commit 8ccfe4361c

View File

@ -95,21 +95,21 @@ struct Mbr_partition_table : public Block::Partition_table
if (!(ebr->valid()))
return;
/* The first record is the actual logical partition. The lba of this
* partition is relative to the lba of the current EBR */
Partition_record *logical = &(ebr->_records[0]);
if (logical->valid() && nr < MAX_PARTITIONS) {
f(nr++, logical, lba);
}
/* The first record is the actual logical partition. The lba of this
* partition is relative to the lba of the current EBR */
Partition_record *logical = &(ebr->_records[0]);
if (logical->valid() && nr < MAX_PARTITIONS) {
f(nr++, logical, lba);
}
/*
* the second record points to the next EBR
* (relative form this EBR)
*/
r = &(ebr->_records[1]);
lba += ebr->_records[1]._lba - last_lba;
/*
* the second record points to the next EBR
* (relative form this EBR)
*/
r = &(ebr->_records[1]);
lba += ebr->_records[1]._lba - last_lba;
last_lba = ebr->_records[1]._lba;
last_lba = ebr->_records[1]._lba;
} while (r->valid());
}