From: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> Inbox engines can have static ops. Signed-off-by: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> --- 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 ca72697..5439da0 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 63a6f8d..5d6a9ed 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.5.5 -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html