Changeset 1b20da0 in mainline for uspace/srv/fs/exfat/exfat_ops.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_ops.c

    rdf6ded8 r1b20da0  
    139139        ds.data_size = node->size;
    140140
    141         exfat_directory_open_parent(&di, node->idx->service_id, node->idx->pfc, 
     141        exfat_directory_open_parent(&di, node->idx->service_id, node->idx->pfc,
    142142            node->idx->parent_fragmented);
    143143        rc = exfat_directory_seek(&di, node->idx->pdi);
     
    269269}
    270270
    271 static errno_t exfat_node_get_new_by_pos(exfat_node_t **nodepp, 
     271static errno_t exfat_node_get_new_by_pos(exfat_node_t **nodepp,
    272272    service_id_t service_id, exfat_cluster_t pfc, unsigned pdi)
    273273{
     
    320320                return rc;
    321321
    322         exfat_directory_open_parent(&di, idxp->service_id, idxp->pfc, 
     322        exfat_directory_open_parent(&di, idxp->service_id, idxp->pfc,
    323323            idxp->parent_fragmented);
    324324        rc = exfat_directory_seek(&di, idxp->pdi);
     
    338338        case EXFAT_DENTRY_FILE:
    339339                nodep->type =
    340                     (uint16_t_le2host(d->file.attr) & EXFAT_ATTR_SUBDIR) ? 
     340                    (uint16_t_le2host(d->file.attr) & EXFAT_ATTR_SUBDIR) ?
    341341                    EXFAT_DIRECTORY : EXFAT_FILE;
    342342                rc = exfat_directory_next(&di);
     
    708708                                nodep->firstc);
    709709                else
    710                         rc = exfat_bitmap_free_clusters(bs, nodep, 
     710                        rc = exfat_bitmap_free_clusters(bs, nodep,
    711711                            ROUND_UP(nodep->size, BPC(bs)) / BPC(bs));
    712         } 
     712        }
    713713
    714714        exfat_idx_destroy(nodep->idx);
     
    10601060
    10611061        /* Initialize the root node. */
    1062         rc = exfat_node_get_new_by_pos(&rootp, service_id, EXFAT_ROOT_PAR, 
     1062        rc = exfat_node_get_new_by_pos(&rootp, service_id, EXFAT_ROOT_PAR,
    10631063            EXFAT_ROOT_POS);
    10641064        if (rc!=EOK) {
     
    11101110        }
    11111111
    1112         rc = exfat_node_get_new_by_pos(&bitmapp, service_id, rootp->firstc, 
     1112        rc = exfat_node_get_new_by_pos(&bitmapp, service_id, rootp->firstc,
    11131113            di.pos);
    11141114        if (rc != EOK) {
     
    11511151        }
    11521152
    1153         rc = exfat_node_get_new_by_pos(&uctablep, service_id, rootp->firstc, 
     1153        rc = exfat_node_get_new_by_pos(&uctablep, service_id, rootp->firstc,
    11541154            di.pos);
    11551155        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.