From 13690c106ce4925a2cb8b3ba9c2fddd50b3a74a7 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Mon, 9 Jan 2017 23:41:59 +0900 Subject: [PATCH] Staticize pmemblk ioengine_ops Inbox engines can have static ops. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- engines/pmemblk.c | 2 +- engines/skeleton_external.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/pmemblk.c b/engines/pmemblk.c index ca726978..5439da05 100644 --- a/engines/pmemblk.c +++ b/engines/pmemblk.c @@ -482,7 +482,7 @@ static int fio_pmemblk_unlink_file(struct thread_data *td, struct fio_file *f) return 0; } -struct ioengine_ops ioengine = { +static struct ioengine_ops ioengine = { .name = "pmemblk", .version = FIO_IOOPS_VERSION, .queue = fio_pmemblk_queue, diff --git a/engines/skeleton_external.c b/engines/skeleton_external.c index 63a6f8d1..5d6a9ed8 100644 --- a/engines/skeleton_external.c +++ b/engines/skeleton_external.c @@ -126,7 +126,7 @@ static int fio_skeleton_close(struct thread_data *td, struct fio_file *f) /* * Note that the structure is exported, so that fio can get it via - * dlsym(..., "ioengine"); + * dlsym(..., "ioengine"); for (and only for) external engines. */ struct ioengine_ops ioengine = { .name = "engine_name", -- 2.25.1