From: Milan Broz Date: Fri, 10 Oct 2008 12:37:06 +0000 (+0100) Subject: dm crypt: move dec_pending on error into write_io_submit X-Git-Tag: v2.6.28-rc1~729^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c031f41db15b6cb0cd33545cec28ca706cd3c7e;p=pandora-kernel.git dm crypt: move dec_pending on error into write_io_submit Make kcryptd_crypt_write_io_submit() responsible for decrementing the pending count after an error. Also fixes a bug in the async path that forgot to decrement it. Signed-off-by: Milan Broz Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed