md: tidy up device searches in read_balance.
authorNeilBrown <neilb@suse.de>
Mon, 6 Sep 2010 04:10:08 +0000 (14:10 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 29 Oct 2010 05:40:33 +0000 (16:40 +1100)
The code for searching through the device list to read-balance in
raid1 is rather clumsy and hard to follow.  Try to simplify it a bit.

No important functionality change here.

Signed-off-by: NeilBrown <neilb@suse.de>

No differences found