public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ab334
)
flock: fix wrong assignment due to staticfast conversion
author
Alan Cox
<alan@linux.intel.com>
Sat, 3 Jan 2015 15:36:39 +0000
(15:36 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 3 Jan 2015 15:36:39 +0000
(15:36 +0000)
Kernel/syscall_fs2.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_fs2.c
b/Kernel/syscall_fs2.c
index
c9af2e0
..
8ad5b43
100644
(file)
--- a/
Kernel/syscall_fs2.c
+++ b/
Kernel/syscall_fs2.c
@@
-689,9
+689,10
@@
int16_t _flock(void)
inoptr ino;
struct oft *o;
staticfast uint8_t c;
- staticfast uint8_t lock
= lockop & ~LOCK_NB;
+ staticfast uint8_t lock
staticfast int self;
-
+
+ lock = lockop & ~LOCK_NB;
self = 0;
if (lock > LOCK_UN) {