Changeset 6b8e5b7 in mainline
- Timestamp:
- 2011-11-05T23:08:52Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6f9ef87a
- Parents:
- 7e8403b
- Location:
- uspace
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/mount/mount.c
r7e8403b r6b8e5b7 84 84 printf("opts=%s ", mtab_ent->opts); 85 85 86 printf("(instance=%d, flags=%d, fs_handle=%d)\n",87 mtab_ent->instance, mtab_ent-> flags, mtab_ent->fs_handle);86 printf("(instance=%d, service_id=%" PRIu64 ")\n", 87 mtab_ent->instance, mtab_ent->service_id); 88 88 } 89 89 -
uspace/lib/c/generic/vfs/vfs.c
r7e8403b r6b8e5b7 873 873 goto exit; 874 874 875 sysarg_t p[ 3];876 877 rc = async_req_0_ 3(exch, VFS_IN_PING, &p[0], &p[1], &p[2]);875 sysarg_t p[2]; 876 877 rc = async_req_0_2(exch, VFS_IN_PING, &p[0], &p[1]); 878 878 if (rc != EOK) 879 879 goto exit; 880 880 881 mtab_ent->flags = p[0]; 882 mtab_ent->instance = p[1]; 883 mtab_ent->fs_handle = p[2]; 881 mtab_ent->instance = p[0]; 882 mtab_ent->service_id = p[1]; 884 883 885 884 link_initialize(&mtab_ent->link); -
uspace/lib/c/include/vfs/vfs_mtab.h
r7e8403b r6b8e5b7 45 45 char opts[MAX_MNTOPTS_LEN]; 46 46 char fs_name[FS_NAME_MAXLEN]; 47 unsigned int flags;48 47 unsigned int instance; 49 fs_handle_t fs_handle;48 service_id_t service_id; 50 49 } mtab_ent_t; 51 50 -
uspace/srv/vfs/vfs_ops.c
r7e8403b r6b8e5b7 369 369 } 370 370 371 mtab_ent->fs_handle = fs_handle;372 371 str_cpy(mtab_ent->mp, MAX_PATH_LEN, mp); 373 372 str_cpy(mtab_ent->fs_name, FS_NAME_MAXLEN, fs_name); 374 373 str_cpy(mtab_ent->opts, MAX_MNTOPTS_LEN, opts); 375 mtab_ent->flags = flags;376 374 mtab_ent->instance = instance; 375 mtab_ent->service_id = service_id; 377 376 378 377 link_initialize(&mtab_ent->link); … … 1393 1392 1394 1393 rc = EOK; 1395 async_answer_ 3(callid, rc, mtab_ent->flags, mtab_ent->instance,1396 mtab_ent-> fs_handle);1394 async_answer_2(callid, rc, mtab_ent->instance, 1395 mtab_ent->service_id); 1397 1396 } 1398 1397
Note:
See TracChangeset
for help on using the changeset viewer.