Commit cd5561c2 authored by JeongHyeon Lee's avatar JeongHyeon Lee Committed by Zheng Zengkai
Browse files

dm verity: fix DM_VERITY_OPTS_MAX value



stable inclusion
from stable-5.10.27
commit d8b36c483d4708409f963095739aebe25b52a5c2
bugzilla: 51493

--------------------------------

commit 160f99db upstream.

Three optional parameters must be accepted at once in a DM verity table, e.g.:
  (verity_error_handling_mode) (ignore_zero_block) (check_at_most_once)
Fix this to be possible by incrementing DM_VERITY_OPTS_MAX.

Signed-off-by: default avatarJeongHyeon Lee <jhs2.lee@samsung.com>
Fixes: 843f38d3 ("dm verity: add 'check_at_most_once' option to only validate hashes once")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 19858fef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment