summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vfs/root.c')
-rw-r--r--src/kernel/vfs/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/vfs/root.c b/src/kernel/vfs/root.c
index cdc388f..11d5f64 100644
--- a/src/kernel/vfs/root.c
+++ b/src/kernel/vfs/root.c
@@ -56,7 +56,7 @@ static void wait_callback(struct process *proc) {
static bool wait_setup(struct vfs_request *req, bool *ready, bool (*ready_fn)()) {
if (!ready_fn()) {
*ready = false;
- req->caller->state = PS_WAITS4IRQ;
+ process_transition(req->caller, PS_WAITS4IRQ);
req->caller->waits4irq.req = *req;
req->caller->waits4irq.ready = ready_fn;
req->caller->waits4irq.callback = wait_callback;