Changeset 9f429c0 in mainline for uspace/srv/fs/tmpfs/tmpfs_dump.c


Ignore:
Timestamp:
2008-08-07T18:05:04Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d2c1fd5
Parents:
c186f27
Message:

Let tmpfs_blockread() use async_req_2_1() instead of ipc_call_sync_2_1().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs_dump.c

    rc186f27 r9f429c0  
    4040#include "../../vfs/vfs.h"
    4141#include <ipc/ipc.h>
     42#include <async.h>
    4243#include <errno.h>
    4344#include <stdlib.h>
     
    8586                if (*bufpos == *buflen) {
    8687                        ipcarg_t retval;
    87                         int rc = ipc_call_sync_2_1(phone, RD_READ_BLOCK,
    88                             *pos / BLOCK_SIZE, BLOCK_SIZE,
    89                             &retval);
     88                        int rc = async_req_2_1(phone, RD_READ_BLOCK,
     89                            *pos / BLOCK_SIZE, BLOCK_SIZE, &retval);
    9090                        if ((rc != EOK) || (retval != EOK))
    9191                                return false;
Note: See TracChangeset for help on using the changeset viewer.