summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-17 14:37:42 -0400
committerIan Moffett <ian@osmora.org>2025-10-17 14:37:42 -0400
commit8d592e845253f3e55deb7f899466ecce5b6cdfb1 (patch)
tree0298722e0917787d7ca052ffdc1f490556cb9db2
parent59abe1956c72576cbd9c362603b685e24e30ca41 (diff)
kern: devfs: Fix typo in VFS ops structure
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--src/sys/fs/devfs.c2
-rw-r--r--src/sys/include/sys/mount.h2
-rw-r--r--src/sys/os/vfs_init.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/sys/fs/devfs.c b/src/sys/fs/devfs.c
index 7553003..729449a 100644
--- a/src/sys/fs/devfs.c
+++ b/src/sys/fs/devfs.c
@@ -160,7 +160,7 @@ static struct vop devfs_vops = {
.lookup = devfs_lookup
};
-struct vfsops g_devfs_vfops = {
+struct vfsops g_devfs_vfsops = {
.init = devfs_init,
.mount = devfs_mount
};
diff --git a/src/sys/include/sys/mount.h b/src/sys/include/sys/mount.h
index 6d041ee..4a190a4 100644
--- a/src/sys/include/sys/mount.h
+++ b/src/sys/include/sys/mount.h
@@ -65,7 +65,7 @@ struct mount;
/* Filesystem vfsops */
extern struct vfsops g_omar_vfsops;
-extern struct vfsops g_devfs_vfops;
+extern struct vfsops g_devfs_vfsops;
/*
* Represents a mountpoint
diff --git a/src/sys/os/vfs_init.c b/src/sys/os/vfs_init.c
index 80d8559..90747d6 100644
--- a/src/sys/os/vfs_init.c
+++ b/src/sys/os/vfs_init.c
@@ -39,7 +39,7 @@
*/
static struct fs_info fstab[] = {
{ MOUNT_INITRD, &g_omar_vfsops, 0 },
- { MOUNT_DEVFS, &g_devfs_vfops, 0 }
+ { MOUNT_DEVFS, &g_devfs_vfsops, 0 },
};
/*