parse: bump max value pairs supported from 24 to 32
authorJens Axboe <axboe@kernel.dk>
Fri, 2 Aug 2019 16:53:22 +0000 (10:53 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 2 Aug 2019 16:53:22 +0000 (10:53 -0600)
The recent addition of the nbd engine overflowed what we support.

Fixes: d643a1e29d31 ("engines: Add Network Block Device (NBD) support using libnbd")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
parse.h

diff --git a/parse.h b/parse.h
index 9b4e2f32535cbd8c31bbc4f059dd1f76b76a25fc..5828654f6bd390a37e5bd2148bc6c1ee95943105 100644 (file)
--- a/parse.h
+++ b/parse.h
@@ -38,7 +38,7 @@ struct value_pair {
 };
 
 #define OPT_LEN_MAX    8192
-#define PARSE_MAX_VP   24
+#define PARSE_MAX_VP   32
 
 /*
  * Option define