aboutsummaryrefslogtreecommitdiff
path: root/sys/include
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/include
parentd9eecde84f40264bc408cbfaed917f107f4a3172 (diff)
kernel: vfs_subr: Add vfs_write()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/sys/vfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/sys/vfs.h b/sys/include/sys/vfs.h
index d79409e..a55af12 100644
--- a/sys/include/sys/vfs.h
+++ b/sys/include/sys/vfs.h
@@ -52,6 +52,7 @@ 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, struct sio_txn *sio);
+ssize_t vfs_write(struct vnode *vp, struct sio_txn *sio);
int vfs_getattr(struct vnode *vp, struct vattr *vattr);
#endif /* defined(_KERNEL) */