commit | 1d55f6bcc0331d744cd5b56c4ee79e3809438161 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Wed Sep 26 23:45:48 2012 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Wed Sep 26 23:45:48 2012 +0100 |
tree | e8e5ceddc169a572269677cab22db02c99ee72f6 | |
parent | 0424caa14508f19ca8093d36c15250e0331a3a0a [diff] |
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 <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Alasdair G Kergon <agk@redhat.com>