Andre Noll
ed7b00380d
md: raid0: Allocate all buffers for the raid0 configuration in one function.
...
Currently the raid0 configuration is allocated in raid0_run() while
the buffers for the strip_zone and the dev_list arrays are allocated
in create_strip_zones(). On errors, all three buffers are freed
in raid0_run().
It's easier and more readable to do the allocation and cleanup within
a single function. So move that code into create_strip_zones().
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
2009-06-16 16:47:36 +10:00
..
2009-03-31 15:09:39 +11:00
2006-01-01 22:21:50 +01:00
2009-06-11 11:10:35 -07:00
2009-03-31 14:27:03 +11:00
2009-04-02 19:55:23 +01:00
2009-04-02 19:55:28 +01:00
2009-04-15 08:28:09 +02:00
2009-05-22 23:22:54 +02:00
2009-04-02 19:55:35 +01:00
2009-04-02 19:55:24 +01:00
2009-04-09 00:27:12 +01:00
2009-04-09 00:27:17 +01:00
2009-04-09 00:27:13 +01:00
2009-05-22 23:22:54 +02:00
2009-04-15 08:28:09 +02:00
2008-10-10 13:36:58 +01:00
2009-04-02 19:55:27 +01:00
2006-12-08 08:28:40 -08:00
2009-04-15 08:28:09 +02:00
2009-04-15 08:28:09 +02:00
2008-10-21 17:44:59 +01:00
2009-05-22 23:22:54 +02:00
2009-04-02 19:55:35 +01:00
2009-04-15 08:28:09 +02:00
2009-01-06 03:04:58 +00:00
2009-01-06 03:05:12 +00:00
2009-06-09 06:22:57 +02:00
2009-04-02 19:55:28 +01:00
2008-04-28 08:58:42 -07:00
2007-10-20 02:01:26 +01:00
2009-01-06 03:04:58 +00:00
2009-06-09 12:34:23 -04:00
2009-04-09 00:27:13 +01:00
2009-03-31 14:59:03 +11:00
2009-03-31 15:27:05 +11:00
2009-05-22 23:22:54 +02:00
2009-03-31 14:33:13 +11:00
2009-03-31 15:09:39 +11:00
2009-06-11 11:10:35 -07:00
2009-04-14 12:01:53 +10:00
2009-03-31 15:09:39 +11:00
2009-05-22 23:22:54 +02:00
2009-03-31 14:33:13 +11:00
2009-06-16 16:47:36 +10:00
2009-06-16 16:47:10 +10:00
2009-05-22 23:22:54 +02:00
2009-03-31 14:33:13 +11:00
2009-06-11 11:10:35 -07:00
2009-03-31 15:28:40 +11:00
2009-03-31 15:09:39 +11:00
2009-03-31 15:09:39 +11:00
2009-03-31 15:09:39 +11:00
2009-03-31 15:09:39 +11:00
2009-03-31 15:09:39 +11:00
2009-03-31 15:09:39 +11:00
2009-03-31 15:09:39 +11:00
2009-03-31 14:57:37 +11:00
2009-05-22 23:22:54 +02:00
2009-03-31 14:33:13 +11:00
2005-04-16 15:20:36 -07:00