From: Dan Carpenter Date: Thu, 11 Oct 2012 03:20:58 +0000 (+1100) Subject: md/raid10: use correct limit variable X-Git-Tag: v3.7-rc1~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91502f099dfc5a1e8812898e26ee280713e1d002;p=pandora-kernel.git md/raid10: use correct limit variable Clang complains that we are assigning a variable to itself. This should be using bad_sectors like the similar earlier check does. Bug has been present since 3.1-rc1. It is minor but could conceivably cause corruption or other bad behaviour. Cc: stable@vger.kernel.org Signed-off-by: Dan Carpenter Signed-off-by: NeilBrown --- Reading git-diff-tree failed