public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
271bf0d
)
flock: LEVEL_0 update
author
Alan Cox
<alan@linux.intel.com>
Wed, 21 Feb 2018 20:31:36 +0000
(20:31 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 21 Feb 2018 20:31:36 +0000
(20:31 +0000)
Kernel/syscall_fs3.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_fs3.c
b/Kernel/syscall_fs3.c
index
f85334d
..
4f0f75a
100644
(file)
--- 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
}