agk-dm-dm-crypt-move-error-setting-outside-crypt_dec_pending
commita74a5e86e2fc98313dd5c1508f87b2fa85dc14af
authorMilan Broz <mbroz@redhat.com>
Tue, 13 Nov 2007 02:37:58 +0000 (13 02:37 +0000)
committerMatthias Urlichs <smurf@hera.kernel.org>
Wed, 14 Nov 2007 11:11:41 +0000 (14 11:11 +0000)
tree99c87904d9e0a8a8a520ced0a0e4d6173737558d
parent7ee532fccb960d73403765000c39bfc79147f5b0
agk-dm-dm-crypt-move-error-setting-outside-crypt_dec_pending

Move error code setting outside of crypt_dec_pending function.
Use -EIO if crypt_convert_scatterlist() fails.

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