]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dm-verity-fec: rename block_offset to out_pos
authorEric Biggers <ebiggers@kernel.org>
Fri, 6 Feb 2026 04:59:35 +0000 (20:59 -0800)
committerMikulas Patocka <mpatocka@redhat.com>
Mon, 9 Mar 2026 14:13:12 +0000 (15:13 +0100)
commit3ad2b952a3ea26c05ed6fdd6484051604b1dee66
treecc84a082c8b41b2cad753d1f1b29b21828df5437
parent96dfabe7382bb984a702b689b69b784d2a29ca0b
dm-verity-fec: rename block_offset to out_pos

The current position in the output block buffer is called 'pos' in
fec_decode_rsb(), and 'block_offset' in fec_read_bufs() and
fec_decode_bufs().  These names aren't very clear, especially
'block_offset' which is easily confused with the offset of a message or
parity block or the position in the current parity block.

Rename it to 'out_pos'.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-verity-fec.c