Changeset 5643a04 in mainline
- Timestamp:
- 2009-10-02T14:03:10Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bbddafb
- Parents:
- 8810c63
- Location:
- uspace/srv/fs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/devfs/devfs.c
r8810c63 r5643a04 51 51 52 52 static vfs_info_t devfs_vfs_info = { 53 .name = "devfs",53 .name = NAME, 54 54 }; 55 55 -
uspace/srv/fs/fat/fat.c
r8810c63 r5643a04 47 47 #include "../../vfs/vfs.h" 48 48 49 #define NAME "fat" 49 50 50 51 vfs_info_t fat_vfs_info = { 51 .name = "fat",52 .name = NAME, 52 53 }; 53 54 … … 83 84 } 84 85 85 dprintf( "VFS-FAT connection established.\n");86 dprintf(NAME ": connection opened\n"); 86 87 while (1) { 87 88 ipc_callid_t callid; … … 137 138 int rc; 138 139 139 printf( "fat: HelenOS FAT file system server.\n");140 printf(NAME ": HelenOS FAT file system server\n"); 140 141 141 142 rc = fat_idx_init(); … … 145 146 vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0); 146 147 if (vfs_phone < EOK) { 147 printf( "fat: failed to connect to VFS\n");148 printf(NAME ": failed to connect to VFS\n"); 148 149 return -1; 149 150 } … … 155 156 } 156 157 157 dprintf("FAT filesystem registered, fs_handle=%d.\n", 158 fat_reg.fs_handle); 159 158 printf(NAME ": Accepting connections\n"); 160 159 async_manager(); 161 160 /* not reached */ … … 163 162 164 163 err: 165 printf( "Failed to register the FATfile system (%d)\n", rc);164 printf(NAME ": Failed to register file system (%d)\n", rc); 166 165 return rc; 167 166 } -
uspace/srv/fs/tmpfs/tmpfs.c
r8810c63 r5643a04 55 55 56 56 vfs_info_t tmpfs_vfs_info = { 57 .name = "tmpfs",57 .name = NAME, 58 58 }; 59 59 … … 90 90 } 91 91 92 dprintf( "VFS-TMPFS connection established.\n");92 dprintf(NAME ": connection opened\n"); 93 93 while (1) { 94 94 ipc_callid_t callid;
Note:
See TracChangeset
for help on using the changeset viewer.