block: Avoid accessing past the end of the block_by_role array.
authorJoseph Huang <jdhuang@stanford.edu>
Wed, 5 May 2010 16:23:55 +0000 (09:23 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 5 May 2010 16:24:22 +0000 (09:24 -0700)
commit91f094e74195edc22a9b741bba4144834942b40c
treeec5feb01aceab864972bf59a829c8428c059fd07
parent1ec7b011dc73affe02a46be228fbc85d2d74384f
block: Avoid accessing past the end of the block_by_role array.
src/devices/block.c