From: NeilBrown Date: Thu, 22 Dec 2011 23:17:54 +0000 (+1100) Subject: md/raid10: change read_balance to return an rdev X-Git-Tag: v3.3-rc1~164^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96c3fd1f3802371610c620cff03f9d825707e80e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed