Changeset 1b20da0 in mainline for uspace/srv/fs/exfat/exfat_fat.c


Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

File:
1 edited

Legend:

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

    rdf6ded8 r1b20da0  
    7474 */
    7575errno_t
    76 exfat_cluster_walk(exfat_bs_t *bs, service_id_t service_id, 
     76exfat_cluster_walk(exfat_bs_t *bs, service_id_t service_id,
    7777    exfat_cluster_t firstc, exfat_cluster_t *lastc, uint32_t *numc,
    7878    uint32_t max_clusters)
     
    141141                         * when fortunately we have the last cluster number cached.
    142142                         */
    143                         return block_get(block, nodep->idx->service_id, DATA_FS(bs) + 
    144                         (nodep->lastc_cached_value-EXFAT_CLST_FIRST)*SPC(bs) + 
     143                        return block_get(block, nodep->idx->service_id, DATA_FS(bs) +
     144                        (nodep->lastc_cached_value-EXFAT_CLST_FIRST)*SPC(bs) +
    145145                            (bn % SPC(bs)), flags);
    146146                }
     
    187187 */
    188188errno_t
    189 exfat_block_get_by_clst(block_t **block, exfat_bs_t *bs, 
     189exfat_block_get_by_clst(block_t **block, exfat_bs_t *bs,
    190190    service_id_t service_id, bool fragmented, exfat_cluster_t fcl,
    191191    exfat_cluster_t *clp, aoff64_t bn, int flags)
     
    200200
    201201        if (!fragmented) {
    202                 rc = block_get(block, service_id, DATA_FS(bs) + 
     202                rc = block_get(block, service_id, DATA_FS(bs) +
    203203                    (fcl - EXFAT_CLST_FIRST)*SPC(bs) + bn, flags);
    204204        } else {
     
    209209                assert(clusters == max_clusters);
    210210
    211                 rc = block_get(block, service_id, DATA_FS(bs) + 
     211                rc = block_get(block, service_id, DATA_FS(bs) +
    212212                    (c - EXFAT_CLST_FIRST) * SPC(bs) + (bn % SPC(bs)), flags);
    213213
Note: See TracChangeset for help on using the changeset viewer.