On Tue, Jan 12 2021 at  2:54pm -0500,
Mikulas Patocka <[email protected]> wrote:

> Advance the maximum number of arguments to 15.
> 
> Signed-off-by: Mikulas Patocka <[email protected]>
> Cc: [email protected]    # v4.19+
> 
> ---
>  drivers/md/dm-integrity.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux-2.6/drivers/md/dm-integrity.c
> ===================================================================
> --- linux-2.6.orig/drivers/md/dm-integrity.c  2021-01-12 20:45:23.000000000 
> +0100
> +++ linux-2.6/drivers/md/dm-integrity.c       2021-01-12 20:46:15.000000000 
> +0100
> @@ -3792,7 +3792,7 @@ static int dm_integrity_ctr(struct dm_ta
>       unsigned extra_args;
>       struct dm_arg_set as;
>       static const struct dm_arg _args[] = {
> -             {0, 9, "Invalid number of feature args"},
> +             {0, 15, "Invalid number of feature args"},
>       };
>       unsigned journal_sectors, interleave_sectors, buffer_sectors, 
> journal_watermark, sync_msec;
>       bool should_write_sb;

Can you please expand on which args weren't accounted for?
Which commit introduced the problem? (I'd like a "Fixes:" reference)

Thanks,
Mike

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to