/trunk/uspace/srv/vfs/vfs_rdwr.c |
---|
73,7 → 73,7 |
if (read) |
res = ipc_data_read_receive(&callid, NULL); |
else |
res = ipc_data_write_receive(&callid, NULL); |
res = ipc_data_write_receive(&callid, NULL, NULL); |
if (!res) { |
ipc_answer_0(callid, EINVAL); |
ipc_answer_0(rid, EINVAL); |
/trunk/uspace/srv/vfs/vfs_open.c |
---|
61,7 → 61,7 |
ipc_callid_t callid; |
if (!ipc_data_write_receive(&callid, &size)) { |
if (!ipc_data_write_receive(&callid, NULL, &size)) { |
ipc_answer_0(callid, EINVAL); |
ipc_answer_0(rid, EINVAL); |
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_write_receive(&callid, &size)) { |
if (!ipc_data_write_receive(&callid, NULL, &size)) { |
ipc_answer_0(callid, EINVAL); |
ipc_answer_0(rid, EINVAL); |
return; |
122,7 → 122,7 |
/* |
* Now, we want the client to send us the mount point. |
*/ |
if (!ipc_data_write_receive(&callid, &size)) { |
if (!ipc_data_write_receive(&callid, NULL, &size)) { |
ipc_answer_0(callid, EINVAL); |
ipc_answer_0(rid, EINVAL); |
return; |
/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_write_receive(&callid, &size)) { |
if (!ipc_data_write_receive(&callid, NULL, &size)) { |
/* |
* The client doesn't obey the same protocol as we do. |
*/ |