From 89b2afba02bbcce1b0421fb3330a077ee9605089 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 18 Oct 2025 14:37:04 -0400 Subject: kern: vfs: Add 'vtype' spec to vop_create_args This commit adds a vtype field to the file creation arguments to allow the underlying vnode type to be specified. Signed-off-by: Ian Moffett --- src/sys/include/os/vnode.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sys/include/os') diff --git a/src/sys/include/os/vnode.h b/src/sys/include/os/vnode.h index 77cadb2..1fd164d 100644 --- a/src/sys/include/os/vnode.h +++ b/src/sys/include/os/vnode.h @@ -88,9 +88,11 @@ struct vop_rw_data { * filesystem * * @ndp: Path component to create + * @vtype: Vnode type */ struct vop_create_args { struct nameidata *ndp; + vtype_t vtype; }; /* -- cgit v1.2.3