Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2659 → Rev 2660

/trunk/uspace/srv/vfs/vfs_open.c
61,7 → 61,7
 
ipc_callid_t callid;
 
if (!ipc_data_receive(&callid, NULL, &size)) {
if (!ipc_data_write_receive(&callid, NULL, &size)) {
ipc_answer_0(callid, EINVAL);
ipc_answer_0(rid, EINVAL);
return;
82,7 → 82,7
}
 
int rc;
if ((rc = ipc_data_deliver(callid, path, size))) {
if ((rc = ipc_data_write_deliver(callid, path, size))) {
ipc_answer_0(rid, rc);
free(path);
return;
/trunk/uspace/srv/vfs/vfs_mount.c
86,7 → 86,7
* Now, we expect the client to send us data with the name of the file
* system.
*/
if (!ipc_data_receive(&callid, NULL, &size)) {
if (!ipc_data_write_receive(&callid, NULL, &size)) {
ipc_answer_0(callid, EINVAL);
ipc_answer_0(rid, EINVAL);
return;
106,7 → 106,7
* Deliver the file system name.
*/
char fs_name[FS_NAME_MAXLEN + 1];
(void) ipc_data_deliver(callid, fs_name, size);
(void) ipc_data_write_deliver(callid, fs_name, size);
fs_name[size] = '\0';
/*
122,7 → 122,7
/*
* Now, we want the client to send us the mount point.
*/
if (!ipc_data_receive(&callid, NULL, &size)) {
if (!ipc_data_write_receive(&callid, NULL, &size)) {
ipc_answer_0(callid, EINVAL);
ipc_answer_0(rid, EINVAL);
return;
150,7 → 150,7
/*
* Deliver the mount point.
*/
(void) ipc_data_deliver(callid, buf, size);
(void) ipc_data_write_deliver(callid, buf, size);
 
/*
* Lookup the root node of the filesystem being mounted.
/trunk/uspace/srv/vfs/vfs_register.c
164,7 → 164,7
* The first call has to be IPC_M_DATA_SEND in which we receive the
* VFS info structure from the client FS.
*/
if (!ipc_data_receive(&callid, NULL, &size)) {
if (!ipc_data_write_receive(&callid, NULL, &size)) {
/*
* The client doesn't obey the same protocol as we do.
*/
205,7 → 205,7
link_initialize(&fs_info->fs_link);
futex_initialize(&fs_info->phone_futex, 1);
rc = ipc_data_deliver(callid, &fs_info->vfs_info, size);
rc = ipc_data_write_deliver(callid, &fs_info->vfs_info, size);
if (rc != EOK) {
dprintf("Failed to deliver the VFS info into our AS, rc=%d.\n",
rc);