summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/request.c
diff options
context:
space:
mode:
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;
}