diff options
| author | 2026-02-05 20:59:37 -0800 | |
|---|---|---|
| committer | 2026-03-09 15:13:28 +0100 | |
| commit | ca21ed4089200ff32ef0a17f58b6153499121cef (patch) | |
| tree | dce3c1ca4203bee3da77496027fd2259393e3a02 /samples/kobject/ssh:/git@git.zx2c4.com | |
| parent | dm-verity-fec: move computation of offset and rsb down a level (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 'samples/kobject/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
