diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-18 14:37:04 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-18 14:37:04 -0400 |
commit | 89b2afba02bbcce1b0421fb3330a077ee9605089 (patch) | |
tree | 0d6accc54b3f9de9ba4ee18972ef3c1ffbe7488a /src/sys/include/os/vnode.h | |
parent | 2a1fccad8a72cf0f1f5dea81ae17f4772183ce50 (diff) |
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 <ian@osmora.org>
Diffstat (limited to 'src/sys/include/os/vnode.h')
-rw-r--r-- | src/sys/include/os/vnode.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; }; /* |