From 43072e8e8b1bf08aad7a138761a563f92ab99fb3 Mon Sep 17 00:00:00 2001 From: Tomohiro Kusumi Date: Tue, 9 Aug 2016 02:27:30 +0900 Subject: [PATCH] Use a pointer to const char* for I/O engine name (in response to aa2b823c) aa2b823c also needed to change ioengine_ops::name size to 64, or make it a pointer to a readonly string which seems to be better in this case as no one is to (or should be able to) modify it. Signed-off-by: Tomohiro Kusumi Signed-off-by: Jens Axboe --- ioengine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ioengine.h b/ioengine.h index 0effadec..ceed3291 100644 --- a/ioengine.h +++ b/ioengine.h @@ -138,7 +138,7 @@ enum { struct ioengine_ops { struct flist_head list; - char name[16]; + const char *name; int version; int flags; int (*setup)(struct thread_data *); -- 2.25.1