aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb/ie-rcv.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2012-03-28 18:41:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-02 09:27:19 -0700
commit94b1a66ccfb495935057de978ef4a6fc22de85d8 (patch)
treec3d3f87cb00e44bd79bd2f761a7832c9d6c35f85 /drivers/uwb/ie-rcv.c
parent48d068c8d59686d228c8154d0781ed5e48361109 (diff)
downloadkernel_samsung_tuna-94b1a66ccfb495935057de978ef4a6fc22de85d8.zip
kernel_samsung_tuna-94b1a66ccfb495935057de978ef4a6fc22de85d8.tar.gz
kernel_samsung_tuna-94b1a66ccfb495935057de978ef4a6fc22de85d8.tar.bz2
dm crypt: add missing error handling
commit 72c6e7afc43e19f68a31dea204fc366624d6eee9 upstream. Always set io->error to -EIO when an error is detected in dm-crypt. There were cases where an error code would be set only if we finish processing the last sector. If there were other encryption operations in flight, the error would be ignored and bio would be returned with success as if no error happened. This bug is present in kcryptd_crypt_write_convert, kcryptd_crypt_read_convert and kcryptd_async_done. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Reviewed-by: Milan Broz <mbroz@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uwb/ie-rcv.c')
0 files changed, 0 insertions, 0 deletions