From 4d4d412ca48802200933eb0e2b0b007855d4aa7d Mon Sep 17 00:00:00 2001
From: Ian Moffett <ian@osmora.org>
Date: Tue, 19 Mar 2024 23:01:43 -0400
Subject: kernel: vnode: Add write() vop

Signed-off-by: Ian Moffett <ian@osmora.org>
---
 sys/include/sys/vnode.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'sys/include')

diff --git a/sys/include/sys/vnode.h b/sys/include/sys/vnode.h
index 4ad76c6..11bbf99 100644
--- a/sys/include/sys/vnode.h
+++ b/sys/include/sys/vnode.h
@@ -39,6 +39,7 @@ struct vnode;
 struct vops {
     int(*vget)(struct vnode *parent, const char *name, struct vnode **vp);
     int(*read)(struct vnode *vp, char *buf, size_t count);
+    int(*write)(struct vnode *vp, const char *buf, size_t count);
 };
 
 struct vnode {
-- 
cgit v1.2.3