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)
commit399802a0f78428b60ee0e451fa53e40f3676595a
treeb68fbb0754cc8fbd9d6c90f86fbdf46a28802e1d
parent2e7e4557b7f84a1377d38c1b4db544251bcec317
block: Avoid accessing past the end of the block_by_role array.
src/devices/block.c