Changeset 4f13e19 in mainline for uspace/srv/vfs/vfs_ops.c


Ignore:
Timestamp:
2019-01-20T15:56:59Z (6 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8cb48d
Parents:
eefdd7c
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-01-20 15:56:59)
git-committer:
GitHub <noreply@…> (2019-01-20 15:56:59)
Message:

Remove async "fast" and "slow" functions from public interface (#153)

"fast" and "slow" paths are implementation detail.
All macros in <async.h> are turned into external functions, so that
this implementation detail doesn't leak. Additionally, removing macros is
A Good Thing on its own, e.g. helping C++ interoperability.

File:
1 edited

Legend:

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

    reefdd7c r4f13e19  
    637637
    638638        async_exch_t *exch = vfs_exchange_grab(node->fs_handle);
    639         errno_t rc = async_data_read_forward_fast(exch, VFS_OUT_STAT,
    640             node->service_id, node->index, true, 0, NULL);
     639        errno_t rc = async_data_read_forward_3_0(exch, VFS_OUT_STAT,
     640            node->service_id, node->index, true);
    641641        vfs_exchange_release(exch);
    642642
     
    654654
    655655        async_exch_t *exch = vfs_exchange_grab(node->fs_handle);
    656         errno_t rc = async_data_read_forward_fast(exch, VFS_OUT_STATFS,
    657             node->service_id, node->index, false, 0, NULL);
     656        errno_t rc = async_data_read_forward_3_0(exch, VFS_OUT_STATFS,
     657            node->service_id, node->index, false);
    658658        vfs_exchange_release(exch);
    659659
Note: See TracChangeset for help on using the changeset viewer.