summaryrefslogtreecommitdiff
path: root/sys/include/sys/vfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/sys/vfs.h')
-rw-r--r--sys/include/sys/vfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/include/sys/vfs.h b/sys/include/sys/vfs.h
index e219cf7..b454d39 100644
--- a/sys/include/sys/vfs.h
+++ b/sys/include/sys/vfs.h
@@ -33,6 +33,7 @@
#include <sys/mount.h>
#include <sys/vnode.h>
#include <sys/types.h>
+#include <sys/sio.h>
/* Max path length */
#define PATH_MAX 1024
@@ -50,7 +51,7 @@ char *vfs_get_fname_at(const char *path, size_t idx);
int vfs_rootname(const char *path, char **new_path);
bool vfs_is_valid_path(const char *path);
ssize_t vfs_hash_path(const char *path);
-ssize_t vfs_read(struct vnode *vp, char *buf, size_t count);
+ssize_t vfs_read(struct vnode *vp, struct sio_txn *sio);
#endif /* defined(_KERNEL) */