diff options
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r-- | src/kernel/vfs/request.c | 2 | ||||
-rw-r--r-- | src/kernel/vfs/root.c | 4 |
2 files changed, 1 insertions, 5 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); } diff --git a/src/kernel/vfs/root.c b/src/kernel/vfs/root.c index c1b16fa..c7bd717 100644 --- a/src/kernel/vfs/root.c +++ b/src/kernel/vfs/root.c @@ -45,10 +45,6 @@ static void req_preprocess(struct vfs_request *req, size_t max_len) { } -static void wait_callback(struct process *proc) { - vfs_root_accept(proc->waits4irq.req); -} - static int handle(struct vfs_request *req, bool *ready) { assert(req->caller); switch (req->type) { |