flock: fix wrong assignment due to staticfast conversion
authorAlan Cox <alan@linux.intel.com>
Sat, 3 Jan 2015 15:36:39 +0000 (15:36 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 3 Jan 2015 15:36:39 +0000 (15:36 +0000)
Kernel/syscall_fs2.c

index c9af2e0..8ad5b43 100644 (file)
@@ -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) {