Rev 2619 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2619 | Rev 2651 | ||
---|---|---|---|
Line 236... | Line 236... | ||
236 | /* The second call uses the same method. */ |
236 | /* The second call uses the same method. */ |
237 | aid_t req2 = async_send_3(phone, VFS_MOUNT, |
237 | aid_t req2 = async_send_3(phone, VFS_MOUNT, |
238 | (ipcarg_t) mounted_root.fs_handle, |
238 | (ipcarg_t) mounted_root.fs_handle, |
239 | (ipcarg_t) mounted_root.dev_handle, (ipcarg_t) mounted_root.index, |
239 | (ipcarg_t) mounted_root.dev_handle, (ipcarg_t) mounted_root.index, |
240 | NULL); |
240 | NULL); |
- | 241 | vfs_release_phone(phone); |
|
241 | 242 | ||
242 | ipcarg_t rc1; |
243 | ipcarg_t rc1; |
243 | ipcarg_t rc2; |
244 | ipcarg_t rc2; |
244 | async_wait_for(req1, &rc1); |
245 | async_wait_for(req1, &rc1); |
245 | async_wait_for(req2, &rc2); |
246 | async_wait_for(req2, &rc2); |
246 | vfs_release_phone(phone); |
- | |
247 | 247 | ||
248 | if ((rc1 != EOK) || (rc2 != EOK)) { |
248 | if ((rc1 != EOK) || (rc2 != EOK)) { |
249 | /* Mount failed, drop references to mr_node and mp_node. */ |
249 | /* Mount failed, drop references to mr_node and mp_node. */ |
250 | vfs_node_put(mr_node); |
250 | vfs_node_put(mr_node); |
251 | if (mp_node) |
251 | if (mp_node) |