diff options
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/proc.h | 2 | ||||
-rw-r--r-- | src/kernel/syscalls.c | 2 | ||||
-rw-r--r-- | src/kernel/vfs/request.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index 0ae811e..eb39b51 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -32,7 +32,7 @@ struct process { struct { char __user *buf; size_t max_len; - struct fs_wait_response __user *res; + struct ufs_request __user *res; } awaited_req; // PS_WAITS4REQUEST struct { struct handle *pipe; diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 62acf5f..aa3c28f 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -258,7 +258,7 @@ long _syscall_close(handle_t hid) { SYSCALL_RETURN(0); } -handle_t _syscall_fs_wait(char __user *buf, long max_len, struct fs_wait_response __user *res) { +handle_t _syscall_fs_wait(char __user *buf, long max_len, struct ufs_request __user *res) { struct vfs_backend *backend = process_current->controlled; // TODO can be used to tell if you're init if (!backend) SYSCALL_RETURN(-1); diff --git a/src/kernel/vfs/request.c b/src/kernel/vfs/request.c index 39834d5..24d5dac 100644 --- a/src/kernel/vfs/request.c +++ b/src/kernel/vfs/request.c @@ -95,7 +95,7 @@ void vfs_backend_tryaccept(struct vfs_backend *backend) { static void vfs_backend_user_accept(struct vfs_request *req) { struct process *handler; - struct fs_wait_response res = {0}; + struct ufs_request res = {0}; struct virt_cpy_error cpyerr; int len; |