Changeset 7dab6b8 in mainline
- Timestamp:
- 2007-12-23T22:37:48Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1356a04c
- Parents:
- a92da0a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/tmpfs/tmpfs_ops.c
ra92da0a r7dab6b8 301 301 ipc_callid_t callid; 302 302 size_t size; 303 if (!ipc_data_read_receive(&callid, size)) {303 if (!ipc_data_read_receive(&callid, &size)) { 304 304 ipc_answer_0(callid, EINVAL); 305 305 ipc_answer_0(rid, EINVAL); … … 309 309 size_t bytes = max(0, min(dentry->size - pos, size)); 310 310 (void) ipc_data_read_deliver(callid, dentry->data + pos, bytes); 311 312 /* 313 * Answer the VFS_READ call. 314 */ 315 ipc_answer_1(rid, EOK, bytes); 311 316 } 312 317
Note:
See TracChangeset
for help on using the changeset viewer.