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
..
2006-01-01 22:21:50 +01:00
2009-04-02 19:55:28 +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-01-06 03:05:12 +00:00
2007-10-20 02:01:26 +01:00
2009-04-09 00:27:13 +01:00
2009-04-14 12:01:53 +10:00
2009-03-31 14:57:37 +11:00
2005-04-16 15:20:36 -07:00