From 881be872675e4cff153c27c641980451c4a3f479 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 14 Jul 2024 19:40:31 +0200 Subject: kernel: make the adhoc VfsQueue queues use ReqQueue instead I'm still not sure if I should use sys/queue.h for this. But yeah, this is more consistent, and it will also let me switch over to O(1) insertions later on. --- src/kernel/vfs/procfs.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/kernel/vfs/procfs.c') diff --git a/src/kernel/vfs/procfs.c b/src/kernel/vfs/procfs.c index 79dfdc0..86042cd 100644 --- a/src/kernel/vfs/procfs.c +++ b/src/kernel/vfs/procfs.c @@ -185,7 +185,6 @@ procfs_backend(Proc *proc) VfsBackend *be = kzalloc(sizeof(VfsBackend), "kern fs"); *be = (VfsBackend) { .is_user = false, - .provhcnt = 1, .usehcnt = 1, .kern.accept = procfs_accept, .kern.data = proc, -- cgit v1.2.3