Three optional parameters at once using dm verity table is not supported, option can only be used exclusively. e.g.) (verity_mode) (ignore_zero_block) (check_at_most_once) verity table: '1 /dev/sdb /dev/sdb 4096 4096 1028807 1028807 <hash_alg> <root_hash> <salt> 11 use_fec_from_device /dev/sdb fec_roots 2 fec_blocks 1036909 fec_start 1036909 restart_on_corruption ignore_zero_blocks check_at_most_once' Signed-off-by: JeongHyeon Lee <jhs2.lee@xxxxxxxxxxx> --- drivers/md/dm-verity-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c index 6b8e5bdd8526..808a98ef624c 100644 --- a/drivers/md/dm-verity-target.c +++ b/drivers/md/dm-verity-target.c @@ -34,7 +34,7 @@ #define DM_VERITY_OPT_IGN_ZEROES "ignore_zero_blocks" #define DM_VERITY_OPT_AT_MOST_ONCE "check_at_most_once" -#define DM_VERITY_OPTS_MAX (2 + DM_VERITY_OPTS_FEC + \ +#define DM_VERITY_OPTS_MAX (3 + DM_VERITY_OPTS_FEC + \ DM_VERITY_ROOT_HASH_VERIFICATION_OPTS) static unsigned dm_verity_prefetch_cluster = DM_VERITY_DEFAULT_PREFETCH_SIZE; -- 2.17.1 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/dm-devel