Changeset e1e3b26 in mainline for uspace/lib/libfs
- Timestamp:
- 2008-04-10T05:08:30Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e22632a9
- Parents:
- 44882c8
- Location:
- uspace/lib/libfs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libfs/libfs.c
r44882c8 re1e3b26 198 198 else 199 199 nodep = ops->node_get(dev_handle, 200 index );200 index, ops->index_get(cur)); 201 201 if (nodep) { 202 202 if (!ops->link(cur, nodep, component)) { … … 261 261 nodep = ops->create(lflag); 262 262 else 263 nodep = ops->node_get(dev_handle, index); 263 nodep = ops->node_get(dev_handle, index, 264 ops->index_get(cur)); 264 265 if (nodep) { 265 266 if (!ops->link(cur, nodep, component)) { -
uspace/lib/libfs/libfs.h
r44882c8 re1e3b26 44 44 typedef struct { 45 45 void * (* match)(void *, const char *); 46 void * (* node_get)(dev_handle_t, fs_index_t );46 void * (* node_get)(dev_handle_t, fs_index_t, fs_index_t); 47 47 void * (* create)(int); 48 48 void (* destroy)(void *); … … 67 67 extern int fs_register(int, fs_reg_t *, vfs_info_t *, async_client_conn_t); 68 68 69 extern int block_read(int, unsigned long, void *);70 extern int block_write(int, unsigned long, void *);71 72 extern void node_add_mp(int, unsigned long);73 extern void node_del_mp(int, unsigned long);74 extern bool node_is_mp(int, unsigned long);75 76 69 extern void libfs_lookup(libfs_ops_t *, fs_handle_t, ipc_callid_t, ipc_call_t *); 77 70
Note:
See TracChangeset
for help on using the changeset viewer.