Changeset 100b1d1 in mainline


Ignore:
Timestamp:
2015-07-30T15:48:47Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6439741
Parents:
c02d098
Message:

Compute hdr_blocks when opening logical partition. Update logical partition indices when deleting logical partition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/label/src/mbr.c

    rc02d098 r100b1d1  
    665665                /* Delete EBR */
    666666                mbr_ebr_delete(part->label, part);
     667
     668                /* Update indices */
     669                mbr_update_log_indices(part->label);
    667670        }
    668671
     
    757760        part->block0 = block0;
    758761        part->nblocks = nblocks;
     762        part->hdr_blocks = block0 - ebr_b0;
    759763
    760764        part->label = label;
Note: See TracChangeset for help on using the changeset viewer.