From bf5cf7c705f292a070746c83f9dd00d7662f458d Mon Sep 17 00:00:00 2001 From: Adam Kwolek Date: Tue, 7 Feb 2012 15:03:27 +0100 Subject: [PATCH 04/12] imsm: FIX: imsm_get_allowed_degradation() doesn't count degradation for raid1 Missing case raid1 added to function. Signed-off-by: Adam Kwolek Signed-off-by: NeilBrown --- super-intel.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/super-intel.c b/super-intel.c index 17034bb..19a2c84 100644 --- a/super-intel.c +++ b/super-intel.c @@ -8771,6 +8771,7 @@ static int imsm_get_allowed_degradation(int level, int raid_disks, struct imsm_dev *dev) { switch (level) { + case 1: case 10:{ int ret_val = 0; struct imsm_map *map; -- 1.7.4.4