FROMLIST: dm-verity: skip verity_handle_error on I/O errors

If there is an I/O error and FEC correction fails, return
an error instead of calling verity_handle_error().

Suggested-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Akilesh Kailash <akailash@google.com>

Bug: 197830746
Link: https://lore.kernel.org/all/20210913092642.3237796-1-akailash@google.com/
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
(cherry picked from commit fca745e32dfec052ecc04431f0ca58d49cce8e94)

amartinz: backport to 4.9

Change-Id: Idd5f65bb72c78a1cca44e5593e40880b2408b564
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
1 file changed