vfs: add type macros for directory entries
This commit is contained in:
parent
e2ea205129
commit
848c374d12
2 changed files with 11 additions and 3 deletions
3
fs/vfs.c
3
fs/vfs.c
|
|
@ -73,9 +73,6 @@ struct file *vfs_open(const char *pathname, int *err)
|
|||
*err = result;
|
||||
slab_free(file_slab, file);
|
||||
return NULL;
|
||||
} else if (result == VFSE_IS_BDEV) {
|
||||
/* TODO: continue search into mounted filesystems */
|
||||
} else {
|
||||
}
|
||||
|
||||
return file;
|
||||
|
|
|
|||
Loading…
Reference in a new issue