X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Fpmemblk.c;h=5439da055f29aaecd7f706dbef85b24487468aa1;hp=6d19864ae0dbf8d3b884e1f4743ba92a0bf61854;hb=13690c106ce4925a2cb8b3ba9c2fddd50b3a74a7;hpb=630431cce7732a404622f801ff9fff5c8ff17b92 diff --git a/engines/pmemblk.c b/engines/pmemblk.c index 6d19864a..5439da05 100644 --- 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) - return 1; + return ENOENT; unlink(path); free(path); return 0; } -struct ioengine_ops ioengine = { +static struct ioengine_ops ioengine = { .name = "pmemblk", .version = FIO_IOOPS_VERSION, .queue = fio_pmemblk_queue,