diff options
author | NeilBrown <neilb@suse.de> | 2009-10-16 07:27:34 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-10-16 07:27:34 +0200 |
commit | e4424fee1815f996dccd36be44d68ca160ec3e1b (patch) | |
tree | 13e67731367d28451fdb1dcfbf4e085ce236f9b9 /drivers/md/raid5.h | |
parent | md/raid456: downlevel multicore operations to raid_run_ops (diff) | |
download | linux-e4424fee1815f996dccd36be44d68ca160ec3e1b.tar.xz linux-e4424fee1815f996dccd36be44d68ca160ec3e1b.zip |
md: fix problems with RAID6 calculations for DDF.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r-- | drivers/md/raid5.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index dcefdc9629ee..dd708359b451 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h @@ -488,7 +488,7 @@ static inline int algorithm_valid_raid6(int layout) { return (layout >= 0 && layout <= 5) || - (layout == 8 || layout == 10) + (layout >= 8 && layout <= 10) || (layout >= 16 && layout <= 20); } |