Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset fe8961d in mainline


Ignore:
Timestamp:
2017-10-05T07:07:45Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
b669092
Parents:
0cebbac
Message:

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

Location:
uspace/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/types/label.h

    r0cebbac rfe8961d  
    124124} label_pcnt_t;
    125125
     126#define LPC_LIMIT (lpc_minix + 1)
     127
    126128#endif
    127129
  • 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.