From d1d977af9567431c36474693ed228c7493249172 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 21 Feb 2018 20:31:36 +0000 Subject: [PATCH] flock: LEVEL_0 update --- Kernel/syscall_fs3.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Kernel/syscall_fs3.c b/Kernel/syscall_fs3.c index f85334d5..4f0f75a9 100644 --- a/Kernel/syscall_fs3.c +++ b/Kernel/syscall_fs3.c @@ -324,7 +324,6 @@ Perform locking upon a file. arg_t _flock(void) { -#ifndef CONFIG_LEVEL_0 inoptr ino; regptr struct oft *o; staticfast uint8_t c; @@ -397,10 +396,6 @@ done: o->o_access |= O_FLOCK; wakeup(&ino->c_flags); return 0; -#else - udata.u_error = ENOSYS; - return -1; -#endif } -- 2.34.1