Changes in uspace/srv/fs/ext4fs/ext4fs.c [a35b458:5a6cc679] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/ext4fs/ext4fs.c
ra35b458 r5a6cc679 42 42 #include <task.h> 43 43 #include <ipc/services.h> 44 #include <str.h>45 44 #include "ext4/ops.h" 46 45 #include "../../vfs/vfs.h" … … 56 55 { 57 56 printf("%s: HelenOS ext4 file system server\n", NAME); 58 57 59 58 if (argc == 3) { 60 59 if (!str_cmp(argv[1], "--instance")) … … 65 64 } 66 65 } 67 66 68 67 async_sess_t *vfs_sess = service_connect_blocking(SERVICE_VFS, 69 68 INTERFACE_VFS_DRIVER, 0); … … 72 71 return 2; 73 72 } 74 73 75 74 errno_t rc = ext4_global_init(); 76 75 if (rc != EOK) { … … 78 77 return rc; 79 78 } 80 79 81 80 rc = fs_register(vfs_sess, &ext4fs_vfs_info, &ext4_ops, 82 81 &ext4_libfs_ops); … … 85 84 return rc; 86 85 } 87 86 88 87 printf("%s: Accepting connections\n", NAME); 89 88 task_retval(0); 90 89 async_manager(); 91 90 92 91 /* Not reached */ 93 92 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.