Changes in uspace/srv/fs/tmpfs/tmpfs.c [a35b458:5a6cc679] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/tmpfs/tmpfs.c
ra35b458 r5a6cc679 50 50 #include <task.h> 51 51 #include <libfs.h> 52 #include <str.h>53 52 #include "../../vfs/vfs.h" 54 53 … … 75 74 } 76 75 } 77 76 78 77 if (!tmpfs_init()) { 79 78 printf(NAME ": failed to initialize TMPFS\n"); 80 79 return -1; 81 80 } 82 81 83 82 async_sess_t *vfs_sess = service_connect_blocking(SERVICE_VFS, 84 83 INTERFACE_VFS_DRIVER, 0); … … 87 86 return -1; 88 87 } 89 88 90 89 errno_t rc = fs_register(vfs_sess, &tmpfs_vfs_info, &tmpfs_ops, 91 90 &tmpfs_libfs_ops); … … 94 93 return rc; 95 94 } 96 95 97 96 printf(NAME ": Accepting connections\n"); 98 97 task_retval(0); 99 98 async_manager(); 100 99 101 100 /* Not reached */ 102 101 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.