summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2012-09-27 02:45:48 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-07 19:32:22 +0400
commitc0b50b292c41e0a1c6a1ef6df665fe7fb8eac2e1 (patch)
tree00bdc183dd5bd765f27d24bb99aee7ec024c48b1 /usr
parent7d77f4776e3fc8770f90244f1f5d1c9181b834c7 (diff)
downloadlinux-c0b50b292c41e0a1c6a1ef6df665fe7fb8eac2e1.tar.xz
dm verity: fix overflow check
commit 1d55f6bcc0331d744cd5b56c4ee79e3809438161 upstream. 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 <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions