summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2014-01-16 01:07:58 +0100
committerMike Snitzer <snitzer@redhat.com>2014-01-16 03:16:24 +0100
commit74aa45c33c5afefa0107c15f2465ff4195c33f96 (patch)
treeb2698067f5fb05034533a9949866978efaed5a12 /drivers/md
parentdm sysfs: fix a module unload race (diff)
downloadlinux-74aa45c33c5afefa0107c15f2465ff4195c33f96.tar.xz
linux-74aa45c33c5afefa0107c15f2465ff4195c33f96.zip
dm thin: fix pool feature parsing
Commit 787a996cb251e20 ("dm thin: add error_if_no_space feature") mistakenly forgot to increase the number of feature args supported. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-thin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-thin.c b/drivers/md/dm-thin.c
index d2328bb05192..726228b33a01 100644
--- a/drivers/md/dm-thin.c
+++ b/drivers/md/dm-thin.c
@@ -1941,7 +1941,7 @@ static int parse_pool_features(struct dm_arg_set *as, struct pool_features *pf,
const char *arg_name;
static struct dm_arg _args[] = {
- {0, 3, "Invalid number of pool feature arguments"},
+ {0, 4, "Invalid number of pool feature arguments"},
};
/*