vfs: fix logic errors and leaks in vfs_open

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-02 14:09:41 +02:00
commit dd00e79b18
3 changed files with 69 additions and 22 deletions

View file

@ -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();