vfs: make write buf const

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-19 20:39:02 -04:00
commit fdc7d5ce5c
2 changed files with 2 additions and 2 deletions

View file

@ -118,7 +118,7 @@ fs_t *vfs_get_root(void);
struct mount *vfs_get_root_mount(void);
struct mount *mount_find_child(struct mount *parent, dirent_t *dent);
ssize_t vfs_write(inode_t *ino, char *buf, size_t size, size_t offset);
ssize_t vfs_write(inode_t *ino, const char *buf, size_t size, size_t offset);
ssize_t vfs_read(inode_t *ino, char *buf, size_t size, size_t offset);
#endif /* _VFS_H_ */