aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-17 23:32:21 -0400
committerIan Moffett <ian@osmora.org>2024-04-17 23:32:21 -0400
commitd2c1859973d858607d2732e7ca222da3187df5dc (patch)
tree823312c7db8068b2775c1ad7d8c6558b305269b2 /sys/kern
parentd9eecde84f40264bc408cbfaed917f107f4a3172 (diff)
kernel: vfs_subr: Add vfs_write()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_subr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 63aed75..5b31057 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -228,6 +228,12 @@ vfs_read(struct vnode *vp, struct sio_txn *sio)
return vp->vops->read(vp, sio);
}
+ssize_t
+vfs_write(struct vnode *vp, struct sio_txn *sio)
+{
+ return vp->vops->write(vp, sio);
+}
+
int
vfs_getattr(struct vnode *vp, struct vattr *vattr)
{