summaryrefslogtreecommitdiff
path: root/firmware/3com
diff options
context:
space:
mode:
authorOndrej Mosnáček <omosnacek@gmail.com>2017-06-05 18:52:39 +0300
committerMike Snitzer <snitzer@redhat.com>2017-06-13 00:05:55 +0300
commit2ad50606f847a902303a5364b7cad64bdd6246f6 (patch)
tree29576817c3611442cd60d2ffb7d3740a516586c2 /firmware/3com
parent32c1431eea4881a6b17bd7c639315010aeefa452 (diff)
downloadlinux-2ad50606f847a902303a5364b7cad64bdd6246f6.tar.xz
dm integrity: reject mappings too large for device
dm-integrity would successfully create mappings with the number of sectors greater than the provided data sector count. Attempts to read sectors of this mapping that were beyond the provided data sector count would then yield run-time messages of the form "device-mapper: integrity: Too big sector number: ...". Fix this by emitting an error when the requested mapping size is bigger than the provided data sector count. Signed-off-by: Ondrej Mosnacek <omosnacek@gmail.com> Acked-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'firmware/3com')
0 files changed, 0 insertions, 0 deletions