]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit0a36463f4ca287e4d4ac15580c0aae5b23619212
treea0f2cc6bff2dcb7aeeba1f005a79a4b1b7f19edd
parentba2cce82ba1ba74cd83bb3fd0e47849af4f2a605
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