]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.25/patches.suse/dm-mpath-null-pgs
Changed checkfs to auto reboot after correctable fsck fixes.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.suse / dm-mpath-null-pgs
CommitLineData
00e5a55c
BS
1From: Hannes Reinecke <hare@suse.de>
2Subject: Allow zero paths for multipath priority groups
3References: bnc#372684
4
5For correct handling of the all-paths-down scenario we have to
6allow zero paths as a valid argument for priority groups.
7
8Signed-off-by: Hannes Reinecke <hare@suse.de>
9
10---
11 drivers/md/dm-mpath.c | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14--- a/drivers/md/dm-mpath.c
15+++ b/drivers/md/dm-mpath.c
16@@ -768,8 +768,8 @@ static int multipath_ctr(struct dm_targe
17 {
18 /* target parameters */
19 static struct param _params[] = {
20- {1, 1024, "invalid number of priority groups"},
21- {1, 1024, "invalid initial priority group number"},
22+ {0, 1024, "invalid number of priority groups"},
23+ {0, 1024, "invalid initial priority group number"},
24 };
25
26 int r;