Changeset e8975278 in mainline for uspace/srv/fs/exfat/exfat_ops.c


Ignore:
Timestamp:
2018-05-10T15:14:02Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1420cae9
Parents:
ae7d03c
git-author:
Jiri Svoboda <jiri@…> (2018-05-10 07:53:56)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-10 15:14:02)
Message:

A few more cstyle fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/exfat/exfat_ops.c

    rae7d03c re8975278  
    11981198        }
    11991199
    1200         /* exfat_fsinfo(bs, service_id); */
     1200        if (0)
     1201                exfat_fsinfo(bs, service_id);
    12011202
    12021203        *rrfn = FS_NODE(rootp);
     
    12371238
    12381239/* Print debug info */
    1239 /*
    12401240static void exfat_fsinfo(exfat_bs_t *bs, service_id_t service_id)
    12411241{
     
    12521252        printf("Bytes per sector: %d\n", BPS(bs));
    12531253        printf("Sectors per cluster: %d\n", SPC(bs));
    1254         printf("KBytes per cluster: %d\n", SPC(bs)*BPS(bs)/1024);
     1254        printf("KBytes per cluster: %d\n", SPC(bs) * BPS(bs) / 1024);
    12551255
    12561256        int i, rc;
    12571257        exfat_cluster_t clst;
    1258         for (i=0; i<=7; i++) {
     1258        for (i = 0; i <= 7; i++) {
    12591259                rc = exfat_get_cluster(bs, service_id, i, &clst);
    12601260                if (rc != EOK)
    12611261                        return;
    12621262                printf("Clst %d: %x", i, clst);
    1263                 if (i>=2)
    1264                         printf(", Bitmap: %d\n", bitmap_is_free(bs, service_id, i)!=EOK);
     1263                if (i >= 2)
     1264                        printf(", Bitmap: %d\n", bitmap_is_free(bs, service_id, i) != EOK);
    12651265                else
    12661266                        printf("\n");
    12671267        }
    12681268}
    1269 */
    12701269
    12711270static errno_t exfat_fsprobe(service_id_t service_id, vfs_fs_probe_info_t *info)
Note: See TracChangeset for help on using the changeset viewer.