Changeset fe91f66 in mainline for uspace/lib/c/generic/vfs/vfs.c


Ignore:
Timestamp:
2017-03-26T20:57:06Z (7 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/lib/c/generic/vfs/vfs.c

    rfcab7ef rfe91f66  
    160160{
    161161        async_exch_t *exch = vfs_exchange_begin();
    162         sysarg_t rc = async_req_2_0(exch, VFS_IN_OPEN2, fildes, mode);
     162        sysarg_t rc = async_req_2_0(exch, VFS_IN_OPEN, fildes, mode);
    163163        vfs_exchange_end(exch);
    164164       
     
    654654        async_exch_t *exch = vfs_exchange_begin();
    655655       
    656         req = async_send_1(exch, VFS_IN_FSTAT, fildes, NULL);
     656        req = async_send_1(exch, VFS_IN_STAT, fildes, NULL);
    657657        rc = async_data_read_start(exch, (void *) stat, sizeof(struct stat));
    658658        if (rc != EOK) {
     
    808808}
    809809
    810 static int _vfs_unlink2(int parent, const char *path, int expect, int wflag)
     810static int _vfs_unlink(int parent, const char *path, int expect, int wflag)
    811811{
    812812        sysarg_t rc;
     
    815815        async_exch_t *exch = vfs_exchange_begin();
    816816       
    817         req = async_send_3(exch, VFS_IN_UNLINK2, parent, expect, wflag, NULL);
     817        req = async_send_3(exch, VFS_IN_UNLINK, parent, expect, wflag, NULL);
    818818        rc = async_data_write_start(exch, path, str_size(path));
    819819       
     
    849849        }
    850850       
    851         int rc = _vfs_unlink2(root, pa, -1, 0);
     851        int rc = _vfs_unlink(root, pa, -1, 0);
    852852       
    853853        if (rc != EOK) {
     
    882882        }
    883883       
    884         int rc = _vfs_unlink2(root, pa, -1, WALK_DIRECTORY);
     884        int rc = _vfs_unlink(root, pa, -1, WALK_DIRECTORY);
    885885        if (rc != EOK) {
    886886                errno = rc;
Note: See TracChangeset for help on using the changeset viewer.