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