summaryrefslogtreecommitdiff
path: root/rust/kernel/gpu/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-02-05 20:59:37 -0800
committerMikulas Patocka <mpatocka@redhat.com>2026-03-09 15:13:28 +0100
commitca21ed4089200ff32ef0a17f58b6153499121cef (patch)
treedce3c1ca4203bee3da77496027fd2259393e3a02 /rust/kernel/gpu/git@git.tavy.me:linux-stable.git
parentca0da6cc096870e9e138f4c2bb78bd2560e29590 (diff)
dm-verity-fec: compute target region directly
Instead of determining the target block's region by checking which block of the k blocks being iterated over in fec_read_bufs() is equal to the target block, instead just directly use the quotient of the division of target_block by region_blocks. This is the same value, just derived in a more straightforward way. Signed-off-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'rust/kernel/gpu/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions