aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2012-09-26 22:45:48 +0000
committerAlasdair G Kergon <[email protected]>2012-09-26 22:45:48 +0000
commit1d55f6bcc0331d744cd5b56c4ee79e3809438161 (patch)
treee8e5ceddc169a572269677cab22db02c99ee72f6 /lib/dma-debug.c
parentdm thin: fix discard support for data devices (diff)
downloadkernel-1d55f6bcc0331d744cd5b56c4ee79e3809438161.tar.gz
kernel-1d55f6bcc0331d744cd5b56c4ee79e3809438161.zip
dm verity: fix overflow check
This patch fixes sector_t overflow checking in dm-verity. Without this patch, the code checks for overflow only if sector_t is smaller than long long, not if sector_t and long long have the same size. Signed-off-by: Mikulas Patocka <[email protected]> Cc: [email protected] Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions