Andre Noll
5568a6035d
md: raid0: Make raid0_run() return a proper error code.
...
Currently raid0_run() always returns -ENOMEM on errors. This is
incorrect as running the array might fail for other reasons, for
example because not all component devices were available.
This patch changes create_strip_zones() so that it returns a proper
error code (either -ENOMEM or -EINVAL) rather than 1 on errors and
makes raid0_run(), its single caller, return that value instead
of -ENOMEM.
Signed-off-by: Andre Noll <maan@systemlinux.org >
Signed-off-by: NeilBrown <neilb@suse.de >
2009-06-16 16:47:21 +10:00
..
2009-06-10 15:25:41 -07:00
2009-06-14 13:46:25 -07:00
2009-06-14 13:46:25 -07:00
2009-06-14 13:46:25 -07:00
2009-06-11 08:51:05 -07:00
2009-05-22 23:22:54 +02:00
2009-06-14 13:46:25 -07:00
2009-05-03 18:05:42 +09:00
2009-06-12 18:01:50 +02:00
2009-06-09 22:30:27 +09:30
2009-06-14 13:46:25 -07:00
2009-05-30 07:57:44 -07:00
2009-06-12 18:01:46 +02:00
2009-06-10 11:05:00 -04:00
2009-05-21 15:56:04 +02:00
2009-06-12 18:09:18 -07:00
2009-06-12 17:42:13 +02:00
2009-06-01 13:46:49 +02:00
2009-06-14 13:42:43 -07:00
2009-06-14 13:46:25 -07:00
2009-05-28 20:52:40 -04:00
2009-06-11 21:36:09 -04:00
2009-06-14 13:53:22 -07:00
2009-06-14 13:46:25 -07:00
2009-06-12 18:01:46 +02:00
2009-05-18 16:25:40 +01:00
2009-06-12 09:32:26 -07:00
2009-06-16 16:47:21 +10:00
2009-06-14 13:46:25 -07:00
2009-05-22 23:22:54 +02:00
2009-06-14 13:52:01 -07:00
2009-06-13 22:42:59 +02:00
2009-06-13 22:42:59 +02:00
2009-06-14 13:46:57 -07:00
2009-06-14 13:46:25 -07:00
2009-06-14 13:53:22 -07:00
2009-05-21 15:56:04 +02:00
2009-05-07 17:28:59 +02:00
2009-06-11 08:51:03 -07:00
2009-06-12 18:01:51 +02:00
2009-06-05 10:46:32 +08:00
2009-05-14 11:28:27 -04:00
2009-06-12 18:09:18 -07:00
2009-05-18 11:21:10 +01:00
2009-06-14 13:42:43 -07:00
2009-06-14 13:46:25 -07:00
2009-05-11 09:52:18 +02:00
2009-06-14 13:46:25 -07:00
2009-06-14 13:46:25 -07:00
2009-06-11 10:33:09 +03:00
2009-06-14 13:42:43 -07:00
2009-06-08 16:57:50 +01:00
2009-06-12 18:01:50 +02:00
2009-05-14 13:40:53 -04:00
2009-06-14 13:46:25 -07:00
2009-06-14 13:42:43 -07:00
2009-06-12 22:16:40 +09:30
2009-06-12 18:01:50 +02:00
2009-06-14 13:46:25 -07:00
2009-06-12 21:32:31 +02:00
2009-04-29 15:41:13 -03:00