From: Alan Cox Date: Wed, 21 Feb 2018 20:31:36 +0000 (+0000) Subject: flock: LEVEL_0 update X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=d1d977af9567431c36474693ed228c7493249172;p=FUZIX.git flock: LEVEL_0 update --- 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 }