From f9c1ceb309a85226b950c05e31f0f3cb1614dd4d Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 12 Jul 2022 22:25:46 +0200 Subject: remove the incorrect OPEN_CREATE guards in fs drivers --- src/user/driver/ps2.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/user/driver/ps2.c') diff --git a/src/user/driver/ps2.c b/src/user/driver/ps2.c index b2811c3..fd81882 100644 --- a/src/user/driver/ps2.c +++ b/src/user/driver/ps2.c @@ -55,10 +55,6 @@ static void main_loop(void) { while (!_syscall_fs_wait(buf, sizeof buf, &res)) { switch (res.op) { case VFSOP_OPEN: - if (res.flags & OPEN_CREATE) { - _syscall_fs_respond(NULL, -1, 0); - break; - } _syscall_fs_respond(NULL, 1, 0); break; -- cgit v1.2.3