dm crypt: remove inc_pending from write_io_submit
authorAlasdair G Kergon <agk@redhat.com>
Fri, 10 Oct 2008 12:37:05 +0000 (13:37 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 10 Oct 2008 12:37:05 +0000 (13:37 +0100)
commit1e37bb8e557a186d327eb4d1387953880ffc2cdd
treedfd5c65642762a69ed94136cde90e92a09d4cc15
parentfc5a5e9aa878f86642c962b309f793fb2db0727e
dm crypt: remove inc_pending from write_io_submit

Make the caller reponsible for incrementing the pending count before calling
kcryptd_crypt_write_io_submit() in the non-async case to bring it into line
with the async case.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-crypt.c