summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
authordzwdz2022-05-02 18:58:57 +0200
committerdzwdz2022-05-02 18:58:57 +0200
commitc38fa859a6fb3e9fce736ead57ee776fe433a0d0 (patch)
tree59dca00c7e9112b53c5ade9e7114d858b5dcaa7a /src/kernel/proc.h
parent8513ae3c3e83ec8835bc0d1355284a9ddd928693 (diff)
kernel/vfs: always separately allocate the request object
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h4
1 files changed, 2 insertions, 2 deletions
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;