Changeset 1b20da0 in mainline for uspace/srv/fs/tmpfs/tmpfs_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/tmpfs/tmpfs_ops.c

    rdf6ded8 r1b20da0  
    7676static errno_t tmpfs_root_get(fs_node_t **rfn, service_id_t service_id)
    7777{
    78         return tmpfs_node_get(rfn, service_id, TMPFS_SOME_ROOT); 
     78        return tmpfs_node_get(rfn, service_id, TMPFS_SOME_ROOT);
    7979}
    8080
     
    138138hash_table_t nodes;
    139139
    140 /* 
    141  * Implementation of hash table interface for the nodes hash table. 
     140/*
     141 * Implementation of hash table interface for the nodes hash table.
    142142 */
    143143
     
    248248
    249249static void tmpfs_instance_done(service_id_t service_id)
    250 {       
     250{
    251251        hash_table_apply(&nodes, rm_service_id_nodes, &service_id);
    252252}
     
    283283                *rfn = NULL;
    284284        }
    285         return EOK;     
     285        return EOK;
    286286}
    287287
     
    324324                nodep->index = tmpfs_next_index++;
    325325        nodep->service_id = service_id;
    326         if (lflag & L_DIRECTORY) 
     326        if (lflag & L_DIRECTORY)
    327327                nodep->type = TMPFS_DIRECTORY;
    328         else 
     328        else
    329329                nodep->type = TMPFS_FILE;
    330330
     
    550550        size_t size;
    551551        if (!async_data_write_receive(&callid, &size)) {
    552                 async_answer_0(callid, EINVAL); 
     552                async_answer_0(callid, EINVAL);
    553553                return EINVAL;
    554554        }
Note: See TracChangeset for help on using the changeset viewer.