summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2009-06-16 06:47:21 (GMT)
committerNeilBrown <neilb@suse.de>2009-06-16 06:47:21 (GMT)
commit5568a6035d9fca2cd8f1ef7005e215eae4e65fab (patch)
treed4433e2449d51e38b841660b8b1017822828044c /Documentation
parent8f79cfcdb65472f1504ade2f53e5f2bfdaeb95da (diff)
downloadlinux-fsl-qoriq-5568a6035d9fca2cd8f1ef7005e215eae4e65fab.tar.xz
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions