Skip to content
Commit 96c3fd1f authored by NeilBrown's avatar NeilBrown
Browse files

md/raid10: change read_balance to return an rdev



It makes more sense to return an rdev than just an index as
read_balance() gets a reference to the rdev and so returning
the pointer make this more idiomatic.

This will be needed in a future patch when we might return
a 'replacement' rdev instead of the main rdev.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 69335ef3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment