Changeset 7c3fb9b in mainline for uspace/srv/fs/mfs


Ignore:
Timestamp:
2018-05-17T08:29:01Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

Location:
uspace/srv/fs/mfs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/mfs/mfs.h

    rfac0ac7 r7c3fb9b  
    106106        unsigned zsearch;
    107107
    108         /* Indicates wether if the cached number of free zones
     108        /*
     109         * Indicates wether if the cached number of free zones
    109110         * is to be considered valid or not.
    110111         */
    111112        bool nfree_zones_valid;
    112         /* Cached number of free zones, used to avoid to scan
     113        /*
     114         * Cached number of free zones, used to avoid to scan
    113115         * the whole bitmap every time the mfs_free_block_count()
    114116         * is invoked.
  • uspace/srv/fs/mfs/mfs_balloc.c

    rfac0ac7 r7c3fb9b  
    191191                bitchunk_t *data = (bitchunk_t *) b->data;
    192192
    193                 /* Read the bitmap block, chunk per chunk,
     193                /*
     194                 * Read the bitmap block, chunk per chunk,
    194195                 * counting the zero bits.
    195196                 */
  • uspace/srv/fs/mfs/mfs_ops.c

    rfac0ac7 r7c3fb9b  
    246246
    247247        if (sbi->log2_zone_size != 0) {
    248                 /* In MFS, file space is allocated per zones.
     248                /*
     249                 * In MFS, file space is allocated per zones.
    249250                 * Zones are a collection of consecutive blocks on disk.
    250251                 *
     
    776777
    777778        if (chino->i_nlinks <= 1 && S_ISDIR(chino->i_mode)) {
    778                 /* The child directory will be destroyed, decrease the
     779                /*
     780                 * The child directory will be destroyed, decrease the
    779781                 * parent hard links counter.
    780782                 */
     
    12391241
    12401242        if (!sbi->nfree_zones_valid) {
    1241                 /* The cached number of free zones is not valid,
     1243                /*
     1244                 * The cached number of free zones is not valid,
    12421245                 * we need to scan the bitmap to retrieve the
    12431246                 * current value.
Note: See TracChangeset for help on using the changeset viewer.