Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2675 → Rev 2678

/trunk/uspace/lib/libc/generic/vfs.c
73,7 → 73,7
}
}
req = async_send_1(vfs_phone, VFS_MOUNT, dev_handle, NULL);
rc = ipc_data_write_send(vfs_phone, (void *)fs_name, strlen(fs_name));
rc = ipc_data_write_start(vfs_phone, (void *)fs_name, strlen(fs_name));
if (rc != EOK) {
async_wait_for(req, NULL);
async_serialize_end();
80,7 → 80,7
futex_up(&vfs_phone_futex);
return (int) rc;
}
rc = ipc_data_write_send(vfs_phone, (void *)mp, strlen(mp));
rc = ipc_data_write_start(vfs_phone, (void *)mp, strlen(mp));
if (rc != EOK) {
async_wait_for(req, NULL);
async_serialize_end();
112,7 → 112,7
}
}
req = async_send_2(vfs_phone, VFS_OPEN, oflag, 0, &answer);
rc = ipc_data_write_send(vfs_phone, name, strlen(name));
rc = ipc_data_write_start(vfs_phone, name, strlen(name));
if (rc != EOK) {
async_wait_for(req, NULL);
async_serialize_end();
143,7 → 143,7
}
}
req = async_send_1(vfs_phone, VFS_READ, fildes, &answer);
if (ipc_data_read_send(vfs_phone, (void *)buf, nbyte) != EOK) {
if (ipc_data_read_start(vfs_phone, (void *)buf, nbyte) != EOK) {
async_wait_for(req, NULL);
async_serialize_end();
futex_up(&vfs_phone_futex);
173,7 → 173,7
}
}
req = async_send_1(vfs_phone, VFS_WRITE, fildes, &answer);
if (ipc_data_write_send(vfs_phone, (void *)buf, nbyte) != EOK) {
if (ipc_data_write_start(vfs_phone, (void *)buf, nbyte) != EOK) {
async_wait_for(req, NULL);
async_serialize_end();
futex_up(&vfs_phone_futex);