From c38fa859a6fb3e9fce736ead57ee776fe433a0d0 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 2 May 2022 18:58:57 +0200 Subject: kernel/vfs: always separately allocate the request object --- src/kernel/proc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/proc.h') diff --git a/src/kernel/proc.h b/src/kernel/proc.h index 80cb4a3..2e7f14d 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -35,7 +35,7 @@ struct process { union { int death_msg; // PS_DEAD struct { - struct vfs_request req; + struct vfs_request *req; } waits4fs; // PS_WAITS4FS struct { char __user *buf; @@ -43,7 +43,7 @@ struct process { struct fs_wait_response __user *res; } awaited_req; // PS_WAITS4REQUEST struct { - struct vfs_request req; + struct vfs_request *req; bool (*ready)(); void (*callback)(struct process *); } waits4irq; -- cgit v1.2.3