175,7 → 175,8 |
} |
} |
req = async_send_1(vfs_phone, VFS_READ, fildes, &answer); |
if (ipc_data_read_start(vfs_phone, (void *)buf, nbyte) != EOK) { |
rc = ipc_data_read_start(vfs_phone, (void *)buf, nbyte); |
if (rc != EOK) { |
async_wait_for(req, NULL); |
async_serialize_end(); |
futex_up(&vfs_phone_futex); |
208,7 → 209,8 |
} |
} |
req = async_send_1(vfs_phone, VFS_WRITE, fildes, &answer); |
if (ipc_data_write_start(vfs_phone, (void *)buf, nbyte) != EOK) { |
rc = ipc_data_write_start(vfs_phone, (void *)buf, nbyte); |
if (rc != EOK) { |
async_wait_for(req, NULL); |
async_serialize_end(); |
futex_up(&vfs_phone_futex); |