summaryrefslogtreecommitdiff
path: root/src/kernel/syscalls.c
diff options
context:
space:
mode:
authordzwdz2022-09-20 23:35:33 +0200
committerdzwdz2022-09-20 23:35:33 +0200
commit3b8b63bf133e855d942abb67de931ce08b7a4452 (patch)
tree6df1767574053f61aab918d22374ef15465478ed /src/kernel/syscalls.c
parent917833cbe99c2083895f7ca28af218270de964d1 (diff)
shared: rename ufs_request to better fit its role in userland
The old name could have suggested that it held a response to a request received by fs_wait. The new name is unfortunately very similar to the `struct vfs_request` already used internally in the kernel, but it's better at conveying that it contains a filesystem request yet to be handled. vfs_request - virtual filesystem request (a bad name in hindsight) ufs_request - user filesystem request
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r--src/kernel/syscalls.c2
1 files changed, 1 insertions, 1 deletions
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);