From: Tomohiro Kusumi Date: Mon, 9 Jan 2017 14:41:59 +0000 (+0900) Subject: Staticize pmemblk ioengine_ops X-Git-Tag: fio-2.17~15 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=13690c106ce4925a2cb8b3ba9c2fddd50b3a74a7;hp=2ce6c6e54db196c2e59485d476a8b4a5c7952b77 Staticize pmemblk ioengine_ops Inbox engines can have static ops. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- 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",