mirror of
https://github.com/drasko/codezero.git
synced 2026-02-28 09:43:14 +01:00
Added vfs_create() to create files and directories.
Moved mkdir to mknod so that mknod is the common handler for all node creation.
This commit is contained in:
@@ -51,6 +51,7 @@ struct vnode_ops {
|
||||
vnode_op_t link;
|
||||
vnode_op_t unlink;
|
||||
int (*mkdir)(struct vnode *parent, char *name);
|
||||
int (*mknod)(struct vnode *parent, char *name, unsigned int mode);
|
||||
vnode_op_t rmdir;
|
||||
vnode_op_t rename;
|
||||
vnode_op_t getattr;
|
||||
|
||||
Reference in New Issue
Block a user