Dan Carpenter 91502f099d 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 <dan.carpenter@oracle.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2012-10-11 14:20:58 +11:00
..
2012-08-20 13:13:47 -07:00
2012-08-02 13:51:46 -04:00
2012-08-13 10:15:22 +05:30
2012-09-05 19:37:08 -07:00
2012-08-16 20:24:38 +01:00
2012-08-13 14:34:02 +08:00
2012-10-11 14:20:58 +11:00
2012-08-20 13:14:22 -07:00
2012-09-04 13:58:11 -04:00
2012-08-20 11:58:43 +02:00
2012-08-27 17:07:37 -07:00
2012-08-28 10:08:31 +02:00
2012-08-20 13:14:22 -07:00
2012-08-20 13:14:22 -07:00
2012-08-25 17:31:59 -07:00
2012-07-31 08:16:22 -06:00
2012-07-31 08:16:22 -06:00