summaryrefslogtreecommitdiff
path: root/src/kernel/vfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r--src/kernel/vfs/request.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/vfs/request.c b/src/kernel/vfs/request.c
index 3f6fda7..69a007e 100644
--- a/src/kernel/vfs/request.c
+++ b/src/kernel/vfs/request.c
@@ -115,7 +115,7 @@ vfsreq_finish(VfsReq *req, char __user *stored, long ret, int flags, Proc *handl
if (req->caller) {
assert(req->caller->state == PS_WAITS4FS);
- regs_savereturn(&req->caller->regs, ret);
+ proc_savereturn(req->caller, ret);
proc_setstate(req->caller, PS_RUNNING);
}
kfree(req);
@@ -181,7 +181,7 @@ vfsback_useraccept(VfsReq *req)
if (hid < 0) panic_unimplemented();
h->req = req;
proc_setstate(handler, PS_RUNNING);
- regs_savereturn(&handler->regs, hid);
+ proc_savereturn(handler, hid);
req->backend->user.handler = NULL;
}
@@ -210,7 +210,7 @@ vfsback_userdown(VfsBackend *b)
Proc *p = b->user.handler;
b->user.handler = NULL;
assert(p->state == PS_WAITS4REQUEST);
- regs_savereturn(&p->regs, -EPIPE);
+ proc_savereturn(p, -EPIPE);
proc_setstate(p, PS_RUNNING);
}
}