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