vfs: add vfs_open
vfs_open parses a path and returns the correct inode. The out inode is a double pointer argument passed to vfs_open, and the return value is an error code, or 0 Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
913b91189b
commit
a8540494a9
11 changed files with 345 additions and 137 deletions
|
|
@ -17,6 +17,7 @@
|
|||
#define EBUSY 12
|
||||
#define ENOSYS 13
|
||||
#define ESYSCALLBLK 14
|
||||
#define ENAMETOOLONG 15
|
||||
|
||||
#ifndef __ASM__
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue