Changes in uspace/srv/fs/devfs/devfs_ops.c [ed903174:1313ee9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/devfs/devfs_ops.c
red903174 r1313ee9 37 37 38 38 #include <ipc/ipc.h> 39 #include <macros.h>40 39 #include <bool.h> 41 40 #include <errno.h> … … 338 337 } 339 338 340 static aoff64_t devfs_size_get(fs_node_t *fn)339 static size_t devfs_size_get(fs_node_t *fn) 341 340 { 342 341 return 0; … … 420 419 421 420 /* Accept the mount options */ 422 ipcarg_t retval = async_data_write_accept((void **) &opts, true, 0, 0, 423 0, NULL); 421 ipcarg_t retval = async_data_string_receive(&opts, 0); 424 422 if (retval != EOK) { 425 423 ipc_answer_0(rid, retval); … … 436 434 } 437 435 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 448 436 void devfs_lookup(ipc_callid_t rid, ipc_call_t *request) 449 437 { … … 464 452 { 465 453 fs_index_t index = (fs_index_t) IPC_GET_ARG2(*request); 466 aoff64_t pos = 467 (aoff64_t) MERGE_LOUP32(IPC_GET_ARG3(*request), IPC_GET_ARG4(*request)); 454 off_t pos = (off_t) IPC_GET_ARG3(*request); 468 455 469 456 if (index == 0) { … … 599 586 { 600 587 fs_index_t index = (fs_index_t) IPC_GET_ARG2(*request); 588 off_t pos = (off_t) IPC_GET_ARG3(*request); 589 601 590 if (index == 0) { 602 591 ipc_answer_0(rid, ENOTSUP);
Note:
See TracChangeset
for help on using the changeset viewer.