Changeset f8838b8 in mainline
- Timestamp:
- 2011-11-05T15:16:23Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41e9ef7
- Parents:
- f346039
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vfs/vfs.c
rf346039 rf8838b8 875 875 sysarg_t p[3]; 876 876 877 int j; 878 for (j = 0; j < 3; ++j) { 879 rc = async_req_0_1(exch, VFS_IN_PING, &p[j]); 880 if (rc != EOK) 881 goto exit; 882 } 877 rc = async_req_0_3(exch, VFS_IN_PING, &p[0], &p[1], &p[2]); 878 if (rc != EOK) 879 goto exit; 883 880 884 881 mtab_ent->flags = p[0]; -
uspace/srv/vfs/vfs_ops.c
rf346039 rf8838b8 1384 1384 str_size(mtab_ent->fs_name)); 1385 1385 1386 sysarg_t p[3]; 1387 1388 p[0] = mtab_ent->flags; 1389 p[1] = mtab_ent->instance; 1390 p[2] = mtab_ent->fs_handle; 1391 1392 int i; 1393 for (i = 0; i < 3; ++i) { 1394 callid = async_get_call(&data); 1395 if (IPC_GET_IMETHOD(data) != VFS_IN_PING) { 1396 rc = ENOTSUP; 1397 async_answer_1(callid, rc, 0); 1398 goto exit; 1399 } 1400 async_answer_1(callid, EOK, p[i]); 1386 callid = async_get_call(&data); 1387 1388 if (IPC_GET_IMETHOD(data) != VFS_IN_PING) { 1389 rc = ENOTSUP; 1390 async_answer_1(callid, rc, 0); 1391 goto exit; 1401 1392 } 1402 1393 1403 1394 rc = EOK; 1395 async_answer_3(callid, rc, mtab_ent->flags, mtab_ent->instance, 1396 mtab_ent->fs_handle); 1404 1397 } 1405 1398
Note:
See TracChangeset
for help on using the changeset viewer.