]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit717d9db8838ff39fc97f5d72eab1c3e3ae0b3a9d
treedfd5c65642762a69ed94136cde90e92a09d4cc15
parent384cc8d9f225eb36a508cd2048643c3dd713c8f8
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