Skip to contentSkip to conversation

master - filters: increase MAX_FILTERS for new filter

PATCH David Teigland 1 participant 1 message May 2, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=977d0a361301d9383a25291fe8cfdd6cea93e22d
Commit:        977d0a361301d9383a25291fe8cfdd6cea93e22d
Parent:        90d0ff66362f3f21f79b5204bcc072c12185883b
Author:        David Teigland <[email protected]>
AuthorDate:    Wed May 2 14:10:30 2018 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Wed May 2 14:10:30 2018 -0500

filters: increase MAX_FILTERS for new filter

The new signature filter was added without increasing this.

---
 lib/commands/toolcontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/commands/toolcontext.c +1 -1
index 7f74c7e..76e15e0 100644
@@ -1053,7 +1053,7 @@ static int _init_dev_cache(struct cmd_context *cmd)
 	return 1;
 }
 
-#define MAX_FILTERS 9
+#define MAX_FILTERS 10
 
 static struct dev_filter *_init_lvmetad_filter_chain(struct cmd_context *cmd)
 {