summaryrefslogtreecommitdiff
path: root/src/sys/include/os
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-18 15:27:02 -0400
committerIan Moffett <ian@osmora.org>2025-10-18 15:27:02 -0400
commit9dcc5282d47f9d2d2ae661a2eccaeaed1c8a460b (patch)
treea21d47ee4c6daeb7eea3d27c81a50e90d47f4b62 /src/sys/include/os
parentfb2dc42cc1f96a86f4d186ebc73db96dbae126fb (diff)
kern: vfs: Add vtype param to vop_create()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/os')
-rw-r--r--src/sys/include/os/vnode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sys/include/os/vnode.h b/src/sys/include/os/vnode.h
index 1fd164d..31cfb0c 100644
--- a/src/sys/include/os/vnode.h
+++ b/src/sys/include/os/vnode.h
@@ -206,11 +206,12 @@ int vop_reclaim(struct vnode *vp, int flags);
*
* @vp: Vnode of parent directory
* @ndp: Namei descriptor of path component
+ * @type: Vnode type to create with
*
* Returns zero on success, otherwise a less than zero
* value on failure.
*/
-int vop_create(struct vnode *vp, struct nameidata *ndp);
+int vop_create(struct vnode *vp, struct nameidata *ndp, vtype_t type);
/*
* Get the attributes of a file