Changeset fe8961d in mainline for uspace/lib/fdisk/src/fdisk.c


Ignore:
Timestamp:
2017-10-05T07:07:45Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b669092
Parents:
0cebbac
Message:

There is a good reason why there should be no default branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fdisk/src/fdisk.c

    r0cebbac rfe8961d  
    10151015        max_blocks = fdisk_ba_align_up(dev, max_blocks);
    10161016
     1017        pcnt = LPC_LIMIT;
     1018
    10171019        switch (pspec->fstype) {
    10181020        case fs_exfat:
     
    10301032        case fs_cdfs:
    10311033                return EINVAL; /* You cannot create an ISO partition */
    1032         default:
     1034        }
     1035
     1036        if (pcnt == LPC_LIMIT)
    10331037                return EINVAL;
    1034         }
    10351038
    10361039        if (pspec->pkind == lpk_logical) {
Note: See TracChangeset for help on using the changeset viewer.