Changeset fe91f66 in mainline for uspace/srv/vfs/vfs_ops.c


Ignore:
Timestamp:
2017-03-26T20:57:06Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b5b5d84
Parents:
fcab7ef
Message:

Omit unnecessary prefixes and suffixes from method and interface names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_ops.c

    rfcab7ef rfe91f66  
    130130}
    131131
    132 int vfs_op_fstat(int fd)
    133 {
    134         vfs_file_t *file = vfs_file_get(fd);
    135         if (!file)
    136                 return EBADF;
    137 
    138         vfs_node_t *node = file->node;
    139 
    140         async_exch_t *exch = vfs_exchange_grab(node->fs_handle);
    141         int rc = async_data_read_forward_fast(exch, VFS_OUT_STAT,
    142             node->service_id, node->index, true, 0, NULL);
    143         vfs_exchange_release(exch);
    144        
    145         vfs_file_put(file);
    146         return rc;
    147 }
    148 
    149132static int vfs_connect_internal(service_id_t service_id, unsigned flags,
    150133    unsigned instance, const char *options, const char *fsname,
     
    291274}
    292275
    293 int vfs_op_open2(int fd, int flags)
     276int vfs_op_open(int fd, int flags)
    294277{
    295278        if (flags == 0)
     
    602585}
    603586
     587int vfs_op_stat(int fd)
     588{
     589        vfs_file_t *file = vfs_file_get(fd);
     590        if (!file)
     591                return EBADF;
     592
     593        vfs_node_t *node = file->node;
     594
     595        async_exch_t *exch = vfs_exchange_grab(node->fs_handle);
     596        int rc = async_data_read_forward_fast(exch, VFS_OUT_STAT,
     597            node->service_id, node->index, true, 0, NULL);
     598        vfs_exchange_release(exch);
     599       
     600        vfs_file_put(file);
     601        return rc;
     602}
     603
    604604int vfs_op_statfs(int fd)
    605605{
     
    672672}
    673673
    674 int vfs_op_unlink2(int parentfd, int expectfd, int wflag, char *path)
     674int vfs_op_unlink(int parentfd, int expectfd, int wflag, char *path)
    675675{
    676676        int rc = EOK;
Note: See TracChangeset for help on using the changeset viewer.