Changeset 2d78d88 in mainline for uspace/lib/label/src/mbr.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/mbr.c
rbec18a9 r2d78d88 428 428 } 429 429 430 static bool mbr_can_modify_part(label_t *label) 431 { 432 return list_count(&label->parts) > 0; 433 } 434 435 430 436 static errno_t mbr_get_info(label_t *label, label_info_t *linfo) 431 437 { … … 448 454 if (mbr_can_delete_part(label)) 449 455 linfo->flags |= lf_can_delete_part; 456 /* Can modify partition */ 457 if (mbr_can_modify_part(label)) 458 linfo->flags |= lf_can_modify_part; 450 459 451 460 linfo->ablock0 = label->ablock0;
Note:
See TracChangeset
for help on using the changeset viewer.