summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/request.c
diff options
context:
space:
mode:
authordzwdz2022-05-05 21:43:21 +0200
committerdzwdz2022-05-05 21:43:21 +0200
commit740cacba5befeba212935b00f8ae95008f564293 (patch)
tree067a164ee13d6c118c0ed9b7f897f84e4b7d91b6 /src/kernel/vfs/request.c
parentf9bc4ac436dec5f2f1f1db31c4933c80ed40568b (diff)
kernel/proc: remove WAITS4IRQ
Diffstat (limited to 'src/kernel/vfs/request.c')
-rw-r--r--src/kernel/vfs/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/vfs/request.c b/src/kernel/vfs/request.c
index 5ad3b82..f463b86 100644
--- a/src/kernel/vfs/request.c
+++ b/src/kernel/vfs/request.c
@@ -56,7 +56,7 @@ int vfsreq_finish(struct vfs_request *req, int ret) {
kfree(req->input.buf_kern);
if (req->caller) {
- assert(req->caller->state == PS_WAITS4FS || req->caller->state == PS_WAITS4IRQ);
+ assert(req->caller->state == PS_WAITS4FS);
regs_savereturn(&req->caller->regs, ret);
process_transition(req->caller, PS_RUNNING);
}