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