summaryrefslogtreecommitdiff
path: root/src/kernel/vfs
diff options
context:
space:
mode:
authordzwdz2022-07-14 16:47:40 +0200
committerdzwdz2022-07-14 16:47:40 +0200
commit81ac903ce39ae1c96d28da3d7af29f364296b4cf (patch)
tree7b07a01a8275a8dd8a08085d95c531bae49eedc1 /src/kernel/vfs
parent3d73a3c8c5ce04a62f1fbea93f4f6ffda57dd6cf (diff)
kernel/driver/serial: allow writes even with pending reads
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r--src/kernel/vfs/request.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h
index 29f1ee9..fc1ef08 100644
--- a/src/kernel/vfs/request.h
+++ b/src/kernel/vfs/request.h
@@ -55,6 +55,9 @@ struct vfs_request {
struct vfs_backend *backend;
struct vfs_request *queue_next;
+ struct vfs_request *postqueue_next; /* used by kernel backends */
+ /* only one of these queues is in use at a given moment, they could
+ * be merged into a single field */
};
/** Assigns the vfs_request to the caller, and dispatches the call */