Changes in / [d57e08f:f5af635] in mainline
- Location:
- uspace/srv/fs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/devfs/devfs.c
rd57e08f rf5af635 44 44 #include <async.h> 45 45 #include <errno.h> 46 #include <task.h>47 46 #include <libfs.h> 48 47 #include "devfs.h" … … 52 51 53 52 static vfs_info_t devfs_vfs_info = { 54 .name = NAME,53 .name = "devfs", 55 54 }; 56 55 … … 132 131 133 132 printf(NAME ": Accepting connections\n"); 134 task_retval(0);135 133 async_manager(); 136 134 -
uspace/srv/fs/fat/fat.c
rd57e08f rf5af635 43 43 #include <errno.h> 44 44 #include <unistd.h> 45 #include <task.h>46 45 #include <stdio.h> 47 46 #include <libfs.h> 48 47 #include "../../vfs/vfs.h" 49 48 50 #define NAME "fat"51 49 52 50 vfs_info_t fat_vfs_info = { 53 .name = NAME,51 .name = "fat", 54 52 }; 55 53 … … 85 83 } 86 84 87 dprintf( NAME ": connection opened\n");85 dprintf("VFS-FAT connection established.\n"); 88 86 while (1) { 89 87 ipc_callid_t callid; … … 139 137 int rc; 140 138 141 printf( NAME ": HelenOS FAT file system server\n");139 printf("fat: HelenOS FAT file system server.\n"); 142 140 143 141 rc = fat_idx_init(); … … 147 145 vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0); 148 146 if (vfs_phone < EOK) { 149 printf( NAME ": failed to connect to VFS\n");147 printf("fat: failed to connect to VFS\n"); 150 148 return -1; 151 149 } … … 157 155 } 158 156 159 printf(NAME ": Accepting connections\n"); 160 task_retval(0); 157 dprintf("FAT filesystem registered, fs_handle=%d.\n", 158 fat_reg.fs_handle); 159 161 160 async_manager(); 162 161 /* not reached */ … … 164 163 165 164 err: 166 printf( NAME ": Failed to registerfile system (%d)\n", rc);165 printf("Failed to register the FAT file system (%d)\n", rc); 167 166 return rc; 168 167 } -
uspace/srv/fs/tmpfs/tmpfs.c
rd57e08f rf5af635 48 48 #include <unistd.h> 49 49 #include <stdio.h> 50 #include <task.h>51 50 #include <libfs.h> 52 51 #include "../../vfs/vfs.h" … … 56 55 57 56 vfs_info_t tmpfs_vfs_info = { 58 .name = NAME,57 .name = "tmpfs", 59 58 }; 60 59 … … 91 90 } 92 91 93 dprintf( NAME ": connection opened\n");92 dprintf("VFS-TMPFS connection established.\n"); 94 93 while (1) { 95 94 ipc_callid_t callid; … … 163 162 164 163 printf(NAME ": Accepting connections\n"); 165 task_retval(0);166 164 async_manager(); 167 165 /* not reached */
Note:
See TracChangeset
for help on using the changeset viewer.