]> 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)
commita6a3b8aff40c69d69c2abf158228009cc3464efc
tree11a7d950e5c17bd6250ac20a5d497bda48cc9f9c
parenta2c28459e3d6659ccd4f6235b7b28e4d197fd949
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 664449bfb5d0f -- it
is far too easy to miss that additional a new argument(s) require
bumping DM_VERITY_OPTS_MAX accordingly.

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