diff options
author | Joe Thornber <ejt@redhat.com> | 2017-02-09 11:46:18 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 06:37:26 +0100 |
commit | fdea1f9721585c68a47ba3e34cb22e257ba4634f (patch) | |
tree | bb3b5717b21f8342eb442c473951bce04c6ac451 /scripts/extract-module-sig.pl | |
parent | f0ae01568e0cf4b00071d1dfd27c90022c2b6d7e (diff) |
dm cache: fix corruption seen when using cache > 2TB
commit ca763d0a53b264a650342cee206512bc92ac7050 upstream.
A rounding bug due to compiler generated temporary being 32bit was found
in remap_to_cache(). A localized cast in remap_to_cache() fixes the
corruption but this preferred fix (changing from uint32_t to sector_t)
eliminates potential for future rounding errors elsewhere.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/extract-module-sig.pl')
0 files changed, 0 insertions, 0 deletions