Changeset 1b20da0 in mainline for uspace/srv/vfs


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

Location:
uspace/srv/vfs
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.h

    rdf6ded8 r1b20da0  
    168168extern list_t plb_entries;      /**< List of active PLB entries. */
    169169
    170 /** Holding this rwlock prevents changes in file system namespace. */ 
     170/** Holding this rwlock prevents changes in file system namespace. */
    171171extern fibril_rwlock_t namespace_rwlock;
    172172
  • uspace/srv/vfs/vfs_file.c

    rdf6ded8 r1b20da0  
    2929/** @addtogroup fs
    3030 * @{
    31  */ 
     31 */
    3232
    3333/**
     
    277277                return ENOMEM;
    278278
    279         fibril_mutex_lock(&vfs_data->lock);     
     279        fibril_mutex_lock(&vfs_data->lock);
    280280        rc = _vfs_fd_free_locked(vfs_data, fd);
    281281        fibril_mutex_unlock(&vfs_data->lock);
     
    310310                return ENOMEM;
    311311
    312         fibril_mutex_lock(&VFS_DATA->lock);     
     312        fibril_mutex_lock(&VFS_DATA->lock);
    313313        if ((fd < 0) || (fd >= MAX_OPEN_FILES)) {
    314314                fibril_mutex_unlock(&VFS_DATA->lock);
     
    431431errno_t vfs_wait_handle_internal(bool high_fd, int *out_fd)
    432432{
    433         vfs_client_data_t *vfs_data = VFS_DATA; 
     433        vfs_client_data_t *vfs_data = VFS_DATA;
    434434       
    435435        fibril_mutex_lock(&vfs_data->lock);
  • uspace/srv/vfs/vfs_ipc.c

    rdf6ded8 r1b20da0  
    5656       
    5757        /*
    58          * Now we expect the client to send us data with the name of the file 
     58         * Now we expect the client to send us data with the name of the file
    5959         * system.
    6060         */
     
    136136        }
    137137       
    138         /* Now, we expect the client to send us data with the name of the file 
     138        /* Now, we expect the client to send us data with the name of the file
    139139         * system.
    140140         */
  • uspace/srv/vfs/vfs_node.c

    rdf6ded8 r1b20da0  
    2929/** @addtogroup fs
    3030 * @{
    31  */ 
     31 */
    3232
    3333/**
  • uspace/srv/vfs/vfs_ops.c

    rdf6ded8 r1b20da0  
    174174       
    175175        /* Add reference to the mounted root. */
    176         *root = vfs_node_get(&res); 
     176        *root = vfs_node_get(&res);
    177177        if (!*root) {
    178178                aid_t msg = async_send_1(exch, VFS_OUT_UNMOUNTED,
     
    401401        async_wait_for(msg, &rc);
    402402       
    403         chunk->size = IPC_GET_ARG1(*answer); 
     403        chunk->size = IPC_GET_ARG1(*answer);
    404404
    405405        return (errno_t) rc;
     
    494494        }
    495495       
    496         vfs_file_put(file);     
     496        vfs_file_put(file);
    497497
    498498        return rc;
     
    708708        fibril_rwlock_write_lock(&namespace_rwlock);
    709709       
    710         /* 
     710        /*
    711711         * Files are retrieved in order of file descriptors, to prevent
    712712         * deadlock.
  • uspace/srv/vfs/vfs_pager.c

    rdf6ded8 r1b20da0  
    8181
    8282        /*
    83          * FIXME: 
     83         * FIXME:
    8484         * This is just for now until we implement proper page cache
    8585         * management.  Not keeping the pages around in a cache results in
  • uspace/srv/vfs/vfs_register.c

    rdf6ded8 r1b20da0  
    9999         */
    100100        if (info->name[i] != '\0') {
    101                 dprintf("The name is not properly NULL-terminated.\n"); 
     101                dprintf("The name is not properly NULL-terminated.\n");
    102102                return false;
    103103        }
     
    331331        fibril_mutex_lock(&fs_list_lock);
    332332        list_foreach(fs_list, fs_link, fs_info_t, fs) {
    333                 if (fs->fs_handle == handle) { 
     333                if (fs->fs_handle == handle) {
    334334                        info = &fs->vfs_info;
    335335                        break;
Note: See TracChangeset for help on using the changeset viewer.