aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-26 21:49:29 -0400
committerIan Moffett <ian@osmora.org>2024-03-26 21:49:29 -0400
commitea0630ef550a3ed7bc38d54c8acab6c7ed075aba (patch)
treea0993841e927901033d23b9f024620343e4e5290 /sys/kern/vfs_subr.c
parente9f8c899812264dbca35efd4d2373b597e3c0a27 (diff)
kernel: Use 'sio_txn' for file I/O
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 5155c9a..bbaec12 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -225,7 +225,7 @@ vfs_vget(struct vnode *parent, const char *name, struct vnode **vp)
}
ssize_t
-vfs_read(struct vnode *vp, char *buf, size_t count)
+vfs_read(struct vnode *vp, struct sio_txn *sio)
{
- return vp->vops->read(vp, buf, count);
+ return vp->vops->read(vp, sio);
}