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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue