diff options
author | dzwdz | 2022-05-05 18:31:56 +0200 |
---|---|---|
committer | dzwdz | 2022-05-05 18:31:56 +0200 |
commit | e7d6d031e54ef1b1c7b589648a27eea84994549f (patch) | |
tree | edd71237b0112a7ad2e29702b7802af83c221a5c /src/kernel/proc.c | |
parent | 60a5c52c407db5f88df82c0dfce425d0faab6831 (diff) |
kernel/vfs: rename the vfsreq funcs, merge vfsreq_finish & vfsreq_cancel
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r-- | src/kernel/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c index 76f3093..ebe291a 100644 --- a/src/kernel/proc.c +++ b/src/kernel/proc.c @@ -241,7 +241,7 @@ void process_kill(struct process *p, int ret) { if (p->state == PS_DEAD || p->state == PS_DEADER) return; if (p->handled_req) { - vfs_request_cancel(p->handled_req, ret); + vfsreq_finish(p->handled_req, -1); p->handled_req = NULL; } if (p->controlled) { @@ -252,7 +252,7 @@ void process_kill(struct process *p, int ret) { struct vfs_request *q = p->controlled->queue; while (q) { struct vfs_request *q2 = q->queue_next; - vfs_request_cancel(q, ret); + vfsreq_finish(q, -1); q = q2; } p->controlled->queue = NULL; |