From: Steffen Klassert Date: Wed, 7 Jul 2010 13:32:02 +0000 (+0200) Subject: padata: make padata_do_parallel to return zero on success X-Git-Tag: v2.6.36-rc1~568^2~18 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83f619f3c8abb82cac9158cf23c656ec5c184607;p=pandora-kernel.git padata: make padata_do_parallel to return zero on success To return -EINPROGRESS on success in padata_do_parallel was considered to be odd. This patch changes this to return zero on success. Also the only user of padata, pcrypt is adapted to convert a return of zero to -EINPROGRESS within the crypto layer. This also removes the pcrypt fallback if padata_do_parallel was called on a not running padata instance as we can't handle it anymore. This fallback was unused, so it's save to remove it. Signed-off-by: Steffen Klassert Signed-off-by: Herbert Xu --- Reading git-diff-tree failed