projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Windows: fix mlock, remove ftruncate and fix error handling.
[fio.git]
/
engines
/
mmap.c
diff --git
a/engines/mmap.c
b/engines/mmap.c
index 79238b1e537b079a183f31f589aa151b0d681419..c1aff5ba97a0843b151c65f05fff55b3575d387a 100644
(file)
--- a/
engines/mmap.c
+++ b/
engines/mmap.c
@@
-59,7
+59,7
@@
static int fio_mmap_file(struct thread_data *td, struct fio_file *f,
err:
if (td->error && f->mmap_ptr)
munmap(f->mmap_ptr, length);
-
+
return td->error;
}
@@
-200,7
+200,7
@@
static int fio_mmapio_init(struct thread_data *td)
break;
shift++;
} while (1);
-
+
mmap_map_mask = 1UL << shift;
return 0;
}