Changeset edebb4a1 in mainline for uspace/lib/label/src/gpt.c
- Timestamp:
- 2015-10-14T22:30:12Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ea0ff6b
- Parents:
- 4b6635a7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/label/src/gpt.c
r4b6635a7 redebb4a1 544 544 } 545 545 546 static bool gpt_can_delete_part(label_t *label) 547 { 548 return list_count(&label->parts) > 0; 549 } 550 546 551 static int gpt_get_info(label_t *label, label_info_t *linfo) 547 552 { … … 551 556 if (gpt_can_create_pri(label)) 552 557 linfo->flags = linfo->flags | lf_can_create_pri; 558 if (gpt_can_delete_part(label)) 559 linfo->flags = linfo->flags | lf_can_delete_part; 553 560 linfo->ablock0 = label->ablock0; 554 561 linfo->anblocks = label->anblocks;
Note:
See TracChangeset
for help on using the changeset viewer.