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/mount.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/kernel/vfs/mount.c') diff --git a/src/kernel/vfs/mount.c b/src/kernel/vfs/mount.c index 15d1382..fa5d65b 100644 --- a/src/kernel/vfs/mount.c +++ b/src/kernel/vfs/mount.c @@ -15,7 +15,6 @@ void vfs_root_register(const char *path, void (*accept)(VfsReq *)) { *backend = (VfsBackend) { .is_user = false, .usehcnt = 1, - .provhcnt = 1, .kern.accept = accept, }; *mount = (VfsMount){ -- cgit v1.2.3