diff options
author | Eric Biggers <ebiggers@google.com> | 2020-06-04 21:01:26 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-06-05 20:59:59 +0200 |
commit | 64611a15ca9da91ff532982429c44686f4593b5f (patch) | |
tree | 24ba1887da33a9d55562ae10b826ebfec2c747ce /fs | |
parent | dm mpath: add DM device name to Failing/Reinstating path log messages (diff) | |
download | linux-64611a15ca9da91ff532982429c44686f4593b5f.tar.xz linux-64611a15ca9da91ff532982429c44686f4593b5f.zip |
dm crypt: avoid truncating the logical block size
queue_limits::logical_block_size got changed from unsigned short to
unsigned int, but it was forgotten to update crypt_io_hints() to use the
new type. Fix it.
Fixes: ad6bf88a6c19 ("block: fix an integer overflow in logical block size")
Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions