projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Staticize pmemblk ioengine_ops
[fio.git]
/
engines
/
pmemblk.c
diff --git
a/engines/pmemblk.c
b/engines/pmemblk.c
index 6d19864ae0dbf8d3b884e1f4743ba92a0bf61854..5439da055f29aaecd7f706dbef85b24487468aa1 100644
(file)
--- a/
engines/pmemblk.c
+++ b/
engines/pmemblk.c
@@
-475,14
+475,14
@@
static int fio_pmemblk_unlink_file(struct thread_data *td, struct fio_file *f)
pmb_parse_path(f->file_name, &path, &bsize, &fsize);
if (!path)
pmb_parse_path(f->file_name, &path, &bsize, &fsize);
if (!path)
- return
1
;
+ return
ENOENT
;
unlink(path);
free(path);
return 0;
}
unlink(path);
free(path);
return 0;
}
-struct ioengine_ops ioengine = {
+st
atic st
ruct ioengine_ops ioengine = {
.name = "pmemblk",
.version = FIO_IOOPS_VERSION,
.queue = fio_pmemblk_queue,
.name = "pmemblk",
.version = FIO_IOOPS_VERSION,
.queue = fio_pmemblk_queue,