Thread (21 messages) 21 messages, 2 authors, 2012-02-09

[PATCH 04/12] imsm: FIX: imsm_get_allowed_degradation() doesn't count degradation for raid1

flat view
STALE5354d

From: Adam Kwolek <hidden>
Date: 2012-02-07 14:03:27
Subsystem: the rest · Maintainer: Linus Torvalds

Missing case raid1 added to function.

Signed-off-by: Adam Kwolek <redacted>
---

 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;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help