Skip to content
Snippets Groups Projects
Commit b7e326f7 authored by Hyunchul Lee's avatar Hyunchul Lee Committed by Mike Snitzer
Browse files

dm integrity: do not check integrity for failed read operations


Even though read operations fail, dm_integrity_map_continue() calls
integrity_metadata() to check integrity.  In this case, just complete
these.

This also makes it so read I/O errors do not generate integrity warnings
in the kernel log.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarHyunchul Lee <cheol.lee@lge.com>
Acked-by: default avatarMilan Broz <gmazyland@gmail.com>
Acked-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 228bb5b2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment