commit | 6c031f41db15b6cb0cd33545cec28ca706cd3c7e | [log] [tgz] |
---|---|---|
author | Milan Broz <mbroz@redhat.com> | Fri Oct 10 13:37:06 2008 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Fri Oct 10 13:37:06 2008 +0100 |
tree | 85434cd7db8ff2e8dc82f5821a9cd3b31ffeb86c | |
parent | 1e37bb8e557a186d327eb4d1387953880ffc2cdd [diff] |
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 <mbroz@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>