[Accel-config] [PATCH 2/5] accel-config: mdev was missing as a wq type in json implementation
ramesh.thomas at intel.com
| Newsgroups | dev.linux.lists.accel-config |
|---|---|
| Message-ID | <[email protected]> |
From: Ramesh Thomas <ramesh.thomas(a)intel.com>
mdev was missing in the list of wq types in json implementation causing
it to not recognize mdev type wqs.
Signed-off-by: Ramesh Thomas <ramesh.thomas(a)intel.com>
---
util/json.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/util/json.c b/util/json.c
index 2fd2b71..f2bb990 100644
--- a/util/json.c
+++ b/util/json.c
@@ -20,7 +20,8 @@
static const char *wq_type_str[] = {
"none",
"kernel",
- "user"
+ "user",
+ "mdev"
};
/* adapted from mdadm::human_size_brief() */
--
2.26.3