summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/request.c
diff options
context:
space:
mode:
authordzwdz2022-04-21 19:00:58 +0200
committerdzwdz2022-04-21 19:00:58 +0200
commitd1af67ca27b1cf044244e61071fe2e538e452815 (patch)
tree5df565e888dec76444b03ccc3af19df7de278936 /src/kernel/vfs/request.c
parent76221c214ec6907ecd52cf57232fa063e2f937d3 (diff)
kernel: recursive kill()
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 625448d..b3769cf 100644
--- a/src/kernel/vfs/request.c
+++ b/src/kernel/vfs/request.c
@@ -92,8 +92,8 @@ int vfs_request_finish(struct vfs_request *req, int ret) {
kfree(req->input.buf_kern);
assert(req->caller->state == PS_WAITS4FS || req->caller->state == PS_WAITS4IRQ);
- process_transition(req->caller, PS_RUNNING);
regs_savereturn(&req->caller->regs, ret);
+ process_transition(req->caller, PS_RUNNING);
return ret;
}