summaryrefslogtreecommitdiff
path: root/src/user/lib/compat.c
diff options
context:
space:
mode:
authordzwdz2022-09-20 23:35:33 +0200
committerdzwdz2022-09-20 23:35:33 +0200
commit3b8b63bf133e855d942abb67de931ce08b7a4452 (patch)
tree6df1767574053f61aab918d22374ef15465478ed /src/user/lib/compat.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/user/lib/compat.c')
-rw-r--r--src/user/lib/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/lib/compat.c b/src/user/lib/compat.c
index cadc77f..63ae717 100644
--- a/src/user/lib/compat.c
+++ b/src/user/lib/compat.c
@@ -5,7 +5,7 @@
#define eprintf(fmt, ...) fprintf(stderr, "user/lib/compat: "fmt"\n" __VA_OPT__(,) __VA_ARGS__)
static handle_t h = -1;
-long c0_fs_wait(char *buf, long len, struct fs_wait_response *res) {
+long c0_fs_wait(char *buf, long len, struct ufs_request *res) {
if (h != -1) {
eprintf("didn't respond to request!");
c0_fs_respond(NULL, -1, 0);