dm crypt: move error setting outside crypt_dec_pending
authorMilan Broz <mbroz@redhat.com>
Fri, 8 Feb 2008 02:10:43 +0000 (02:10 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 8 Feb 2008 02:10:43 +0000 (02:10 +0000)
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>

No differences found