Changeset 2d78d88 in mainline for uspace/lib/label/src/gpt.c


Ignore:
Timestamp:
2018-07-25T17:04:03Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
efa3136
Parents:
bec18a9
Message:

Modifying mount point for a partition.

File:
1 edited

Legend:

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

    rbec18a9 r2d78d88  
    580580}
    581581
     582static bool gpt_can_modify_part(label_t *label)
     583{
     584        return list_count(&label->parts) > 0;
     585}
     586
    582587static errno_t gpt_get_info(label_t *label, label_info_t *linfo)
    583588{
     
    589594        if (gpt_can_delete_part(label))
    590595                linfo->flags = linfo->flags | lf_can_delete_part;
     596        if (gpt_can_modify_part(label))
     597                linfo->flags = linfo->flags | lf_can_modify_part;
    591598        linfo->ablock0 = label->ablock0;
    592599        linfo->anblocks = label->anblocks;
Note: See TracChangeset for help on using the changeset viewer.