Rev 4491 | Rev 4508 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4491 | Rev 4492 | ||
|---|---|---|---|
| Line 221... | Line 221... | ||
| 221 | int open(const char *path, int oflag, ...) |
221 | int open(const char *path, int oflag, ...) |
| 222 | { |
222 | { |
| 223 | return _open(path, L_FILE, oflag); |
223 | return _open(path, L_FILE, oflag); |
| 224 | } |
224 | } |
| 225 | 225 | ||
| 226 | int open_node(inode_t *node, int oflag) |
226 | int open_node(fdi_node_t *node, int oflag) |
| 227 | { |
227 | { |
| 228 | futex_down(&vfs_phone_futex); |
228 | futex_down(&vfs_phone_futex); |
| 229 | async_serialize_start(); |
229 | async_serialize_start(); |
| 230 | vfs_connect(); |
230 | vfs_connect(); |
| 231 | 231 | ||
| Line 330... | Line 330... | ||
| 330 | return -1; |
330 | return -1; |
| 331 | 331 | ||
| 332 | return devmap_device_connect((dev_handle_t) device, 0); |
332 | return devmap_device_connect((dev_handle_t) device, 0); |
| 333 | } |
333 | } |
| 334 | 334 | ||
| 335 | void fd_node(int fildes, inode_t *node) |
335 | void fd_node(int fildes, fdi_node_t *node) |
| 336 | { |
336 | { |
| 337 | futex_down(&vfs_phone_futex); |
337 | futex_down(&vfs_phone_futex); |
| 338 | async_serialize_start(); |
338 | async_serialize_start(); |
| 339 | vfs_connect(); |
339 | vfs_connect(); |
| 340 | 340 | ||