]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm-verity FEC: Avoid copying RS parity bytes twice.
authorMilan Broz <gmazyland@gmail.com>
Wed, 18 Dec 2024 12:56:59 +0000 (13:56 +0100)
committerMikulas Patocka <mpatocka@redhat.com>
Fri, 3 Jan 2025 16:08:49 +0000 (17:08 +0100)
commit548c6edbed92031baa4aa32cae55628c810c3ebb
treefeeed4339429f8105f161bbc5c9321e0071719ec
parent6df90c02bae468a3a6110bafbc659884d0c4966c
dm-verity FEC: Avoid copying RS parity bytes twice.

Caching RS parity bytes is already done in fec_decode_bufs() now,
no need to use yet another buffer for conversion to uint16_t.

This patch removes that double copy of RS parity bytes.

Signed-off-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-verity-fec.c