diff options
| author | Mikulas Patocka <[email protected]> | 2012-09-26 22:45:48 +0000 |
|---|---|---|
| committer | Alasdair G Kergon <[email protected]> | 2012-09-26 22:45:48 +0000 |
| commit | 1d55f6bcc0331d744cd5b56c4ee79e3809438161 (patch) | |
| tree | e8e5ceddc169a572269677cab22db02c99ee72f6 /lib/dma-debug.c | |
| parent | dm thin: fix discard support for data devices (diff) | |
| download | kernel-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
