Lower the number of valid priority groups to zero, as this is a perfectly valid configuration. Signed-off-by: Hannes Reinecke <hare@xxxxxxx> diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index e8f704a..1984f40 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -719,8 +719,8 @@ static int multipath_ctr(struct dm_target *ti, unsigned int argc, { /* target parameters */ static struct param _params[] = { - {1, 1024, "invalid number of priority groups"}, - {1, 1024, "invalid initial priority group number"}, + {0, 1024, "invalid number of priority groups"}, + {0, 1024, "invalid initial priority group number"}, }; int r; -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel