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/os/vfs_namei.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sys/os') diff --git a/src/sys/os/vfs_namei.c b/src/sys/os/vfs_namei.c index d417db8..7814181 100644 --- a/src/sys/os/vfs_namei.c +++ b/src/sys/os/vfs_namei.c @@ -149,6 +149,7 @@ namei(struct nameidata *ndp) nd_create.path = namebuf; create.ndp = &nd_create; + create.vtype = VTYPE_FILE; error = vops->create(&create); if (error < 0) return error; -- cgit v1.2.3