aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorJonathan Brassow <[email protected]>2012-10-11 13:40:36 +1100
committerNeilBrown <[email protected]>2012-10-11 13:40:36 +1100
commit7386199c471f70526bbcc629f072a5a8effe218f (patch)
treef9a9db7769a86450ccdda52fa64c2ee7f74b709e /lib/mpi/mpi-inline.h
parent4ec1e369af83f7ecdfbd48a905e44fc9910115ba (diff)
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 <[email protected]> Signed-off-by: Jonathan Brassow <[email protected]> Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions