diff options
author | dzwdz | 2022-09-20 23:35:33 +0200 |
---|---|---|
committer | dzwdz | 2022-09-20 23:35:33 +0200 |
commit | 3b8b63bf133e855d942abb67de931ce08b7a4452 (patch) | |
tree | 6df1767574053f61aab918d22374ef15465478ed /src/shared | |
parent | 917833cbe99c2083895f7ca28af218270de964d1 (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/shared')
-rw-r--r-- | src/shared/include/camellia/syscalls.h | 2 | ||||
-rw-r--r-- | src/shared/include/camellia/types.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/include/camellia/syscalls.h b/src/shared/include/camellia/syscalls.h index 2450fff..f9e3832 100644 --- a/src/shared/include/camellia/syscalls.h +++ b/src/shared/include/camellia/syscalls.h @@ -61,7 +61,7 @@ long _syscall_getsize(handle_t h); long _syscall_remove(handle_t h); long _syscall_close(handle_t h); -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); long _syscall_fs_respond(handle_t hid, const void __user *buf, long ret, int flags); /** Modifies the virtual address space. diff --git a/src/shared/include/camellia/types.h b/src/shared/include/camellia/types.h index 4f6ab1d..be34783 100644 --- a/src/shared/include/camellia/types.h +++ b/src/shared/include/camellia/types.h @@ -22,7 +22,7 @@ enum vfs_operation { VFSOP_CLOSE, }; -struct fs_wait_response { +struct ufs_request { enum vfs_operation op; size_t len; // how much was put in *buf size_t capacity; // how much output can be accepted by the caller |