Changeset 5cde90f in mainline for uspace/srv/fs/devfs/devfs_ops.c
- Timestamp:
- 2010-02-19T17:16:46Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 617652f
- Parents:
- b86d436 (diff), f41aa81 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/devfs/devfs_ops.c
rb86d436 r5cde90f 37 37 38 38 #include <ipc/ipc.h> 39 #include <macros.h> 39 40 #include <bool.h> 40 41 #include <errno.h> … … 337 338 } 338 339 339 static size_t devfs_size_get(fs_node_t *fn)340 static aoff64_t devfs_size_get(fs_node_t *fn) 340 341 { 341 342 return 0; … … 419 420 420 421 /* Accept the mount options */ 421 ipcarg_t retval = async_data_string_receive(&opts, 0); 422 ipcarg_t retval = async_data_write_accept((void **) &opts, true, 0, 0, 423 0, NULL); 422 424 if (retval != EOK) { 423 425 ipc_answer_0(rid, retval); … … 434 436 } 435 437 438 void devfs_unmounted(ipc_callid_t rid, ipc_call_t *request) 439 { 440 ipc_answer_0(rid, ENOTSUP); 441 } 442 443 void devfs_unmount(ipc_callid_t rid, ipc_call_t *request) 444 { 445 libfs_unmount(&devfs_libfs_ops, rid, request); 446 } 447 436 448 void devfs_lookup(ipc_callid_t rid, ipc_call_t *request) 437 449 { … … 452 464 { 453 465 fs_index_t index = (fs_index_t) IPC_GET_ARG2(*request); 454 off_t pos = (off_t) IPC_GET_ARG3(*request); 466 aoff64_t pos = 467 (aoff64_t) MERGE_LOUP32(IPC_GET_ARG3(*request), IPC_GET_ARG4(*request)); 455 468 456 469 if (index == 0) { … … 586 599 { 587 600 fs_index_t index = (fs_index_t) IPC_GET_ARG2(*request); 588 off_t pos = (off_t) IPC_GET_ARG3(*request);589 590 601 if (index == 0) { 591 602 ipc_answer_0(rid, ENOTSUP);
Note:
See TracChangeset
for help on using the changeset viewer.