[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] [PATCH 1/2] Allow zero priority groups
- From: hare suse de (Hannes Reinecke)
- To: Alasdair Kergon <agk redhat com>
- Cc: Christophe suse de, dm-devel redhat com, Varoqui suse de, christophe varoqui free fr
- Subject: [dm-devel] [PATCH 1/2] Allow zero priority groups
- Date: Mon, 02 Jun 2008 10:52:23 +0200
Lower the number of valid priority groups to zero, as
this is a perfectly valid configuration.
Signed-off-by: Hannes Reinecke <hare suse de>
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;
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]