From 3b8b63bf133e855d942abb67de931ce08b7a4452 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 20 Sep 2022 23:35:33 +0200 Subject: 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 --- src/user/app/init/driver/ps2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user/app/init/driver/ps2.c') diff --git a/src/user/app/init/driver/ps2.c b/src/user/app/init/driver/ps2.c index 0d344ed..5e9aeac 100644 --- a/src/user/app/init/driver/ps2.c +++ b/src/user/app/init/driver/ps2.c @@ -52,7 +52,7 @@ static void parse_scancode(uint8_t s) { static void main_loop(void) { static char buf[512]; - struct fs_wait_response res; + struct ufs_request res; int ret; while (!c0_fs_wait(buf, sizeof buf, &res)) { switch (res.op) { -- cgit v1.2.3