[dm-devel] [PATCH] dm crypt: avoid truncating the logical block size

2020-06-05 Thread Eric Biggers
From: Eric Biggers 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: sta...@vger.kernel.org Signed-off-by

Re: [dm-devel] [PATCH] dm crypt: avoid truncating the logical block size

2020-06-05 Thread Mikulas Patocka
On Thu, 4 Jun 2020, Eric Biggers wrote: > From: Eric Biggers > > 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 log