Advance the maximum number of arguments to 16.

This should fix https://bugzilla.redhat.com/show_bug.cgi?id=1895117

Signed-off-by: Mikulas Patocka <[email protected]>
Fixes: 48debafe4f2f ("dm: add writecache target")
Cc: [email protected]      # v4.18+

---
 drivers/md/dm-writecache.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/drivers/md/dm-writecache.c
===================================================================
--- linux-2.6.orig/drivers/md/dm-writecache.c   2020-10-29 12:20:47.000000000 
+0100
+++ linux-2.6/drivers/md/dm-writecache.c        2020-11-10 11:09:47.000000000 
+0100
@@ -2041,7 +2041,7 @@ static int writecache_ctr(struct dm_targ
        struct wc_memory_superblock s;
 
        static struct dm_arg _args[] = {
-               {0, 10, "Invalid number of feature args"},
+               {0, 16, "Invalid number of feature args"},
        };
 
        as.argc = argc;

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

Reply via email to