projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
riscv64: add syscall helpers
[fio.git]
/
filelock.c
diff --git
a/filelock.c
b/filelock.c
index 7e92f63d9c668b34ea45845b363e20ff02e0d357..fd3a6b29e422830f62d35234715b290d57713908 100644
(file)
--- a/
filelock.c
+++ b/
filelock.c
@@
-179,7
+179,7
@@
static bool __fio_lock_file(const char *fname, int trylock)
fio_sem_up(&fld->lock);
if (!ff) {
- assert(
!
trylock);
+ assert(trylock);
return true;
}