git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[pandora-kernel.git]
/
drivers
/
md
/
dm-raid.c
diff --git
a/drivers/md/dm-raid.c
b/drivers/md/dm-raid.c
index
a002dd8
..
86df8b2
100644
(file)
--- a/
drivers/md/dm-raid.c
+++ b/
drivers/md/dm-raid.c
@@
-449,7
+449,7
@@
static int parse_raid_params(struct raid_set *rs, char **argv,
rs->ti->error = "write_mostly option is only valid for RAID1";
return -EINVAL;
}
- if (value > rs->md.raid_disks) {
+ if (value >
=
rs->md.raid_disks) {
rs->ti->error = "Invalid write_mostly drive index given";
return -EINVAL;
}