Changeset 44c6091f in mainline for uspace/srv/fs/minixfs/mfs_balloc.c


Ignore:
Timestamp:
2011-04-30T12:24:14Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fdc05ca
Parents:
8a49fed
Message:

cstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_balloc.c

    r8a49fed r44c6091f  
    3737static int
    3838find_free_bit_and_set(bitchunk_t *b, const int bsize,
    39                                 const bool native, unsigned start_bit);
     39                      const bool native, unsigned start_bit);
    4040
    4141int
     
    5555                if (idx > sbi->nzones) {
    5656                        printf(NAME ": Error! Trying to free beyond the" \
    57                                         "bitmap max size\n");
     57                               "bitmap max size\n");
    5858                        return -1;
    5959                }
     
    6363                if (idx > sbi->ninodes) {
    6464                        printf(NAME ": Error! Trying to free beyond the" \
    65                                         "bitmap max size\n");
     65                               "bitmap max size\n");
    6666                        return -1;
    6767                }
     
    124124        for (i = *search / bits_per_block; i < nblocks; ++i) {
    125125                r = block_get(&b, inst->handle, i + start_block,
    126                                 BLOCK_FLAGS_NONE);
     126                              BLOCK_FLAGS_NONE);
    127127
    128128                on_error(r, goto out);
     
    168168static int
    169169find_free_bit_and_set(bitchunk_t *b, const int bsize,
    170                                 const bool native, unsigned start_bit)
     170                      const bool native, unsigned start_bit)
    171171{
    172172        int r = -1;
     
    176176
    177177        for (i = start_bit / sizeof(uint32_t);
    178                                 i < bsize / sizeof(uint32_t); ++i) {
     178             i < bsize / sizeof(uint32_t); ++i) {
    179179                if (!(~b[i])) {
    180180                        /*No free bit in this chunk*/
     
    200200/**
    201201 * @}
    202  */ 
    203 
     202 */
     203
Note: See TracChangeset for help on using the changeset viewer.