Changeset a32c9bb in mainline
- Timestamp:
- 2009-03-02T17:33:47Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1fcfc94
- Parents:
- 13ec8055
- Location:
- uspace/srv/fs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat.c
r13ec8055 ra32c9bb 129 129 goto err; 130 130 131 vfs_phone = ipc_connect_me_to (PHONE_NS, SERVICE_VFS, 0, 0);132 while(vfs_phone < EOK) {133 usleep(10000);134 vfs_phone = ipc_connect_me_to(PHONE_NS, SERVICE_VFS, 0, 0);131 vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0); 132 if (vfs_phone < EOK) { 133 printf("fat: failed to connect to VFS\n"); 134 return -1; 135 135 } 136 136 -
uspace/srv/fs/tmpfs/tmpfs.c
r13ec8055 ra32c9bb 127 127 int main(int argc, char **argv) 128 128 { 129 int vfs_phone;130 131 129 printf(NAME ": HelenOS TMPFS file system server\n"); 132 133 vfs_phone = ipc_connect_me_to(PHONE_NS, SERVICE_VFS, 0, 0);134 while(vfs_phone < EOK) {135 usleep(10000);136 vfs_phone = ipc_connect_me_to(PHONE_NS, SERVICE_VFS, 0, 0);130 131 int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0); 132 if (vfs_phone < EOK) { 133 printf(NAME ": Unable to connect to VFS\n"); 134 return -1; 137 135 } 138 136 139 int rc; 140 rc = fs_register(vfs_phone, &tmpfs_reg, &tmpfs_vfs_info, 137 int rc = fs_register(vfs_phone, &tmpfs_reg, &tmpfs_vfs_info, 141 138 tmpfs_connection); 142 139 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.