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

@ -274,6 +274,7 @@ int vfs_creat(dirent_t *parent, const char *name, u64 mode, int flags, dirent_t
new_dirent->fs = fs;
new_dirent->parent = parent;
dirent_inc_ref(parent);
*out = new_dirent;
write_unlock(&ino->rwlock);
return 0;