Changeset 2d78d88 in mainline for uspace/lib/label/src/gpt.c
- Timestamp:
- 2018-07-25T17:04:03Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- efa3136
- Parents:
- bec18a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/label/src/gpt.c
rbec18a9 r2d78d88 580 580 } 581 581 582 static bool gpt_can_modify_part(label_t *label) 583 { 584 return list_count(&label->parts) > 0; 585 } 586 582 587 static errno_t gpt_get_info(label_t *label, label_info_t *linfo) 583 588 { … … 589 594 if (gpt_can_delete_part(label)) 590 595 linfo->flags = linfo->flags | lf_can_delete_part; 596 if (gpt_can_modify_part(label)) 597 linfo->flags = linfo->flags | lf_can_modify_part; 591 598 linfo->ablock0 = label->ablock0; 592 599 linfo->anblocks = label->anblocks;
Note:
See TracChangeset
for help on using the changeset viewer.