Files
linux-apfs/drivers/md
Jonathan Brassow 7386199c47 DM RAID: Fix comparison of index and quantity for "rebuild" parameter
DM RAID: Fix comparison of index and quantity for "rebuild" parameter

The "rebuild" parameter takes an index argument that starts counting from
zero.  The conditional used to validate the index was using '>' rather than
'>=', leaving the door open for an index value that would be 1 too large.

Reported-by: Neil Brown <neilb@suse.de>
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2012-10-11 13:40:36 +11:00
..
2012-03-28 18:41:29 +01:00
2012-03-28 18:41:29 +01:00
2012-09-09 10:35:38 +02:00
2012-07-30 17:25:16 -07:00
2012-07-27 15:08:16 +01:00
2012-03-19 12:46:39 +11:00
2012-10-11 13:08:44 +11:00
2012-03-28 18:43:38 +01:00
2012-10-11 13:34:00 +11:00
2012-10-11 13:25:44 +11:00
2012-10-11 13:34:00 +11:00
2012-10-11 13:34:00 +11:00