Changeset 286286c in mainline
- Timestamp:
- 2011-09-23T15:56:23Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ab4aca, 6fe0bf8d
- Parents:
- 4979403
- Location:
- uspace
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/mount/mount.c
r4979403 r286286c 107 107 if (rc != EOK) { 108 108 printf("Unable to mount %s filesystem to %s on %s (rc=%d)\n", 109 109 t_argv[1], t_argv[2], t_argv[3], rc); 110 110 return CMD_FAILURE; 111 111 } -
uspace/lib/c/generic/vfs/vfs.c
r4979403 r286286c 182 182 sysarg_t rc_orig; 183 183 aid_t req = async_send_3(exch, VFS_IN_MOUNT, service_id, flags, 184 184 instance, NULL); 185 185 sysarg_t rc = async_data_write_start(exch, (void *) mpa, mpa_size); 186 186 if (rc != EOK) { -
uspace/srv/vfs/vfs_ops.c
r4979403 r286286c 146 146 147 147 rindex = (fs_index_t) IPC_GET_ARG1(answer); 148 rsize = (aoff64_t) MERGE_LOUP32(IPC_GET_ARG2(answer), IPC_GET_ARG3(answer)); 148 rsize = (aoff64_t) MERGE_LOUP32(IPC_GET_ARG2(answer), 149 IPC_GET_ARG3(answer)); 149 150 rlnkcnt = (unsigned) IPC_GET_ARG4(answer); 150 151 … … 280 281 unsigned int instance = IPC_GET_ARG3(*request); 281 282 282 /*283 * For now, don't make use of ARG3, but it can be used to284 * carry mount options in the future.285 */286 287 283 /* We want the client to send us the mount point. */ 288 284 char *mp; -
uspace/srv/vfs/vfs_register.c
r4979403 r286286c 155 155 */ 156 156 if (fs_name_to_handle(fs_info->vfs_info.instance, 157 157 fs_info->vfs_info.name, false)) { 158 158 /* 159 159 * We already register a fs like this. … … 308 308 fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link); 309 309 if (str_cmp(fs->vfs_info.name, name) == 0 && 310 310 instance == fs->vfs_info.instance) { 311 311 handle = fs->fs_handle; 312 312 break;
Note:
See TracChangeset
for help on using the changeset viewer.