vfs: fix logic errors and leaks in vfs_open
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
a8540494a9
commit
dd00e79b18
3 changed files with 69 additions and 22 deletions
|
|
@ -21,6 +21,7 @@ typedef struct _list_head {
|
|||
} list_t;
|
||||
|
||||
void list_create(list_t *list);
|
||||
void list_destroy(list_t * list);
|
||||
list_item_t *list_insert(list_t *list, void *item);
|
||||
void list_remove(list_item_t *item);
|
||||
void list_init();
|
||||
|
|
|
|||
Loading…
Reference in a new issue