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/user/app/init/driver | |
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/user/app/init/driver')
-rw-r--r-- | src/user/app/init/driver/initctl.c | 2 | ||||
-rw-r--r-- | src/user/app/init/driver/ps2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/user/app/init/driver/initctl.c b/src/user/app/init/driver/initctl.c index 7f5fc20..b9fe1c9 100644 --- a/src/user/app/init/driver/initctl.c +++ b/src/user/app/init/driver/initctl.c @@ -7,7 +7,7 @@ #include <user/lib/compat.h> void initctl_drv(handle_t killswitch) { - struct fs_wait_response res; + struct ufs_request res; char buf[64]; const size_t buflen = sizeof buf; while (!c0_fs_wait(buf, buflen, &res)) { 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) { |