Changeset 28be7fa in mainline for uspace/lib/libc/generic/vfs/vfs.c
- Timestamp:
- 2010-02-03T13:55:36Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 472c09d
- Parents:
- 210e50a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/vfs/vfs.c
r210e50a r28be7fa 120 120 const char *opts, unsigned int flags) 121 121 { 122 int res;123 ipcarg_t rc;124 ipcarg_t rc_orig;125 aid_t req;126 dev_handle_t dev_handle;127 122 int null_id = -1; 128 123 char null[DEVMAP_NAME_MAXLEN]; … … 140 135 } 141 136 142 res = devmap_device_get_handle(fqdn, &dev_handle, flags); 137 dev_handle_t dev_handle; 138 int res = devmap_device_get_handle(fqdn, &dev_handle, flags); 143 139 if (res != EOK) { 144 140 if (null_id != -1) … … 161 157 vfs_connect(); 162 158 163 req = async_send_2(vfs_phone, VFS_IN_MOUNT, dev_handle, flags, NULL); 164 rc = async_data_write_start(vfs_phone, (void *) mpa, mpa_size); 159 ipcarg_t rc_orig; 160 aid_t req = async_send_2(vfs_phone, VFS_IN_MOUNT, dev_handle, flags, NULL); 161 ipcarg_t rc = async_data_write_start(vfs_phone, (void *) mpa, mpa_size); 165 162 if (rc != EOK) { 166 163 async_wait_for(req, &rc_orig);
Note:
See TracChangeset
for help on using the changeset viewer.