Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2741 → Rev 2740

/trunk/uspace/lib/libc/generic/vfs.c
175,8 → 175,7
}
}
req = async_send_1(vfs_phone, VFS_READ, fildes, &answer);
rc = ipc_data_read_start(vfs_phone, (void *)buf, nbyte);
if (rc != 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);
209,8 → 208,7
}
}
req = async_send_1(vfs_phone, VFS_WRITE, fildes, &answer);
rc = ipc_data_write_start(vfs_phone, (void *)buf, nbyte);
if (rc != 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);