summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/request.h
diff options
context:
space:
mode:
authordzwdz2024-07-14 21:08:58 +0200
committerdzwdz2024-07-14 21:08:58 +0200
commitad99cc4245dd2dfda37e40146609e09cf2e409c6 (patch)
treef4d13f7a264932ddd039345290351e3f2a5a9868 /src/kernel/vfs/request.h
parent881be872675e4cff153c27c641980451c4a3f479 (diff)
kernel: O(1) ReqQueue insertions
Diffstat (limited to 'src/kernel/vfs/request.h')
-rw-r--r--src/kernel/vfs/request.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h
index 6786e72..45ec687 100644
--- a/src/kernel/vfs/request.h
+++ b/src/kernel/vfs/request.h
@@ -6,6 +6,7 @@
struct ReqQueue {
VfsReq *head;
+ VfsReq **slot; /* points to the place where new entries should be placed */
};
struct VfsBackend {