NeilBrown
87a8dec91e
md: simplify some 'if' conditionals in raid5_start_reshape.
...
There are two consecutive 'if' statements.
if (mddev->delta_disks >= 0)
....
if (mddev->delta_disks > 0)
The code in the second is equally valid if delta_disks == 0, and these
two statements are the only place that 'added_devices' is used.
So make them a single if statement, make added_devices a local
variable, and re-indent it all.
No functional change.
Signed-off-by: NeilBrown <neilb@suse.de>
2011-01-31 11:57:43 +11:00
..
2011-01-14 09:14:34 +11:00
2010-10-28 17:32:26 +11:00
2009-04-02 19:55:23 +01:00
2011-01-13 19:59:55 +00:00
2011-01-13 19:59:57 +00:00
2010-08-12 04:13:51 +01:00
2010-08-12 04:13:51 +01:00
2010-09-10 12:35:38 +02:00
2011-01-13 19:59:55 +00:00
2011-01-13 19:59:58 +00:00
2010-08-12 04:14:11 +01:00
2011-01-13 19:59:52 +00:00
2011-01-13 19:59:52 +00:00
2009-09-04 20:40:34 +01:00
2011-01-13 20:00:00 +00:00
2011-01-13 20:00:01 +00:00
2008-10-10 13:36:58 +01:00
2009-04-02 19:55:27 +01:00
2009-06-22 10:12:27 +01:00
2009-06-22 10:12:27 +01:00
2011-01-13 19:59:58 +00:00
2011-01-13 20:00:02 +00:00
2010-09-10 12:35:38 +02:00
2009-06-22 10:12:27 +01:00
2010-03-30 22:02:32 +09:00
2011-01-13 19:59:59 +00:00
2009-12-10 23:52:12 +00:00
2011-01-13 19:59:59 +00:00
2011-01-13 19:59:57 +00:00
2010-03-07 17:04:49 -08:00
2011-01-14 18:44:22 +01:00
2010-08-12 04:14:14 +01:00
2010-03-06 02:29:52 +00:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2011-01-13 20:00:00 +00:00
2010-08-12 04:14:08 +01:00
2010-10-28 17:36:15 +11:00
2011-01-13 20:00:02 +00:00
2010-09-10 12:35:38 +02:00
2009-06-18 08:49:42 +10:00
2011-01-13 20:00:02 +00:00
2011-01-31 11:57:42 +11:00
2011-01-14 09:14:34 +11:00
2010-09-10 12:35:38 +02:00
2009-06-16 16:54:21 +10:00
2010-09-10 12:35:38 +02:00
2010-06-24 13:33:24 +10:00
2011-01-14 09:14:33 +11:00
2010-10-29 16:40:33 +11:00
2011-01-31 11:57:43 +11:00
2010-09-10 12:35:38 +02:00
2011-01-14 09:14:33 +11:00
2010-06-24 13:33:24 +10:00