commit | 96c3fd1f3802371610c620cff03f9d825707e80e | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:54 2011 +1100 |
committer | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:54 2011 +1100 |
tree | 822e95ed42ca9d1526964b3d06ef66ec4edd0ab9 | |
parent | 69335ef3bc5b766f34db2d688be1d35313138bca [diff] |
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: NeilBrown <neilb@suse.de>