fs_init: change to_mount to block_device
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
d2c698ac0a
commit
07ea385f96
8 changed files with 73 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue