diff options
author | dzwdz | 2022-07-12 22:25:46 +0200 |
---|---|---|
committer | dzwdz | 2022-07-12 22:25:46 +0200 |
commit | f9c1ceb309a85226b950c05e31f0f3cb1614dd4d (patch) | |
tree | f837f6f86a6934ae74c69c381b8408c3e6a39203 /src/kernel/arch/i386/driver/ps2.c | |
parent | a854f2979a86f76bd6405041bf5227257548acf3 (diff) |
remove the incorrect OPEN_CREATE guards in fs drivers
Diffstat (limited to 'src/kernel/arch/i386/driver/ps2.c')
-rw-r--r-- | src/kernel/arch/i386/driver/ps2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/i386/driver/ps2.c b/src/kernel/arch/i386/driver/ps2.c index ef45810..341a7d3 100644 --- a/src/kernel/arch/i386/driver/ps2.c +++ b/src/kernel/arch/i386/driver/ps2.c @@ -34,7 +34,7 @@ static void accept(struct vfs_request *req) { bool valid; switch (req->type) { case VFSOP_OPEN: - valid = req->input.len == 0 && !(req->flags & OPEN_CREATE); + valid = req->input.len == 0; vfsreq_finish_short(req, valid ? 0 : -1); break; case VFSOP_READ: |