]> git.baikalelectronics.ru Git - kernel.git/commit
dm verity: fix DM_VERITY_OPTS_MAX value yet again
authorMike Snitzer <snitzer@kernel.org>
Tue, 9 Aug 2022 21:33:12 +0000 (17:33 -0400)
committerMike Snitzer <snitzer@kernel.org>
Tue, 9 Aug 2022 23:12:14 +0000 (19:12 -0400)
commit38ca3c2bd0ef7bceb721731b9877bfa4ad37e6e7
tree11a7d950e5c17bd6250ac20a5d497bda48cc9f9c
parent5505cb9e1d286fb4bd20f549f070daf70edf23cc
dm verity: fix DM_VERITY_OPTS_MAX value yet again

Must account for the possibility that "try_verify_in_tasklet" is used.

This is the same issue that was fixed with commit d0bfdc444b84a -- it
is far too easy to miss that additional a new argument(s) require
bumping DM_VERITY_OPTS_MAX accordingly.

Fixes: 172f4a827694 ("dm verity: Add optional "try_verify_in_tasklet" feature")
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-verity-target.c