fs_init: change to_mount to block_device

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-12 11:00:39 -04:00
commit 07ea385f96
8 changed files with 73 additions and 2 deletions

View file

@ -104,6 +104,7 @@ static ssize_t read_next(fs_t *fs, const char *file, rbtree_t *list, dirent_t **
if (res == 0) {
new_dent->fs = parent->fs;
new_dent->parent = parent;
dirent_inc_ref(parent);
*out = new_dent;
} else {
inode_dec_ref(existing_ino);