diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2020-11-10 07:45:13 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-11-17 10:45:06 -0500 |
commit | 67aa3ec3dbc43d6e34401d9b2a40040ff7bb57af (patch) | |
tree | b239453194809b13c6354c2952b33d897f28b4bc /drivers/md | |
parent | e5d41cbca1b2036362c9e29d705d3a175a01eff8 (diff) | |
download | linux-67aa3ec3dbc43d6e34401d9b2a40040ff7bb57af.tar.bz2 |
dm writecache: fix the maximum number of arguments
Advance the maximum number of arguments to 16.
This fixes issue where certain operations, combined with table
configured args, exceed 10 arguments.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Fixes: 48debafe4f2f ("dm: add writecache target")
Cc: stable@vger.kernel.org # v4.18+
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm-writecache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-writecache.c b/drivers/md/dm-writecache.c index 1ea923af47c6..7d277de26b3a 100644 --- a/drivers/md/dm-writecache.c +++ b/drivers/md/dm-writecache.c @@ -2041,7 +2041,7 @@ static int writecache_ctr(struct dm_target *ti, unsigned argc, char **argv) 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; |