]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit5742fd77757894ebb5e441afbdac1fb666e782f7
tree6976ec2b920b9df1e2316d4603d81a6082a7d42b
parentfcd369daa36d547607dbedd0b41099d6dfc1d1c7
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