Files
linux/drivers
Jonthan Brassow 8232480944 dm: raid fix write_mostly arg validation
Fix off-by-one error in validation of write_mostly.

The user-supplied value given for the 'write_mostly' argument must be an
index starting at 0.  The validation of the supplied argument failed to
check for 'N' ('>' vs '>='), which would have caused an access beyond the
end of the array.

Reported-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2011-09-25 23:26:19 +01:00
..
…
…
…
2011-07-28 01:30:07 -07:00
…
…
2011-09-14 03:55:05 -07:00
…
…
2011-09-11 09:33:41 -03:00
2011-09-06 16:37:59 +02:00
2011-09-21 02:14:13 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-08-25 16:25:33 -07:00
…
…