From 9dcc5282d47f9d2d2ae661a2eccaeaed1c8a460b Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 18 Oct 2025 15:27:02 -0400 Subject: kern: vfs: Add vtype param to vop_create() Signed-off-by: Ian Moffett --- src/sys/include/os/vnode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sys/include/os') 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 -- cgit v1.2.3