vfs: fix various logical errors in the vfs

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-05 15:18:34 +02:00
commit eb41b17fea
6 changed files with 146 additions and 45 deletions

View file

@ -88,6 +88,7 @@ void dirent_free(dirent_t *dirent);
/* inode ops */
int inode_find_dirent(inode_t *inode, const char *name, dirent_t **out);
int inode_find_dirent_locked(inode_t *inode, const char *name, dirent_t **out);
inode_t *inode_create();
void inode_free(inode_t *inode);
void inode_inc_ref(inode_t *inode);