mirror of
https://github.com/drasko/codezero.git
synced 2026-02-09 08:23:22 +01:00
Reorganised sys_open.
vfs_create and mknod now returns the newly created vnode. (which might be used by upper layers).
This commit is contained in:
@@ -53,7 +53,8 @@ struct vnode_ops {
|
||||
vnode_op_t link;
|
||||
vnode_op_t unlink;
|
||||
int (*mkdir)(struct vnode *parent, const char *name);
|
||||
int (*mknod)(struct vnode *parent, const char *name, unsigned int mode);
|
||||
struct vnode *(*mknod)(struct vnode *parent, const char *name,
|
||||
unsigned int mode);
|
||||
vnode_op_t rmdir;
|
||||
vnode_op_t rename;
|
||||
vnode_op_t getattr;
|
||||
|
||||
Reference in New Issue
Block a user