diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2024-05-20 17:48:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-21 15:40:34 +0300 |
commit | 2ac3032b8ff9ce04eeaf88a0d5817564c47aa0fd (patch) | |
tree | 072da5acac3041e0e279b90bfd6c3364d8d85805 /drivers/sh | |
parent | 117b9c009b72a6c2ebfd23484354dfee2d9570d2 (diff) | |
download | linux-2ac3032b8ff9ce04eeaf88a0d5817564c47aa0fd.tar.xz |
dm-integrity: set discard_granularity to logical block size
commit 69381cf88a8dfa0ab27fb801b78be813e7e8fb80 upstream.
dm-integrity could set discard_granularity lower than the logical block
size. This could result in failures when sending discard requests to
dm-integrity.
This fix is needed for kernels prior to 6.10.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reported-by: Eric Wheeler <linux-integrity@lists.ewheeler.net>
Cc: stable@vger.kernel.org # <= 6.9
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions