]> git.baikalelectronics.ru Git - kernel.git/commit
dm verity: optimize verity_verify_io if FEC not configured
authorMike Snitzer <snitzer@kernel.org>
Thu, 4 Aug 2022 02:43:22 +0000 (22:43 -0400)
committerMike Snitzer <snitzer@kernel.org>
Thu, 4 Aug 2022 18:02:20 +0000 (14:02 -0400)
commit806db2f111529d1a87ed14bdcfc0192f7d3a10f0
treea0f2cc6bff2dcb7aeeba1f005a79a4b1b7f19edd
parent74458a3aa94d4939ecdd22d492fadcde36a107ba
dm verity: optimize verity_verify_io if FEC not configured

Only declare and copy bvec_iter if CONFIG_DM_VERITY_FEC is defined and
FEC enabled for the verity device.

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-verity-target.c