commit | e4424fee1815f996dccd36be44d68ca160ec3e1b | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Oct 16 16:27:34 2009 +1100 |
committer | NeilBrown <neilb@suse.de> | Fri Oct 16 16:27:34 2009 +1100 |
tree | 13e67731367d28451fdb1dcfbf4e085ce236f9b9 | |
parent | 417b8d4ac868cf58d6c68f52d72f7648413e0edc [diff] [blame] |
md: fix problems with RAID6 calculations for DDF. Signed-off-by: NeilBrown <neilb@suse.de>
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index dcefdc9..dd70835 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h
@@ -488,7 +488,7 @@ { return (layout >= 0 && layout <= 5) || - (layout == 8 || layout == 10) + (layout >= 8 && layout <= 10) || (layout >= 16 && layout <= 20); }