summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2014-01-16 04:07:58 +0400
committerMike Snitzer <snitzer@redhat.com>2014-01-16 06:16:24 +0400
commit74aa45c33c5afefa0107c15f2465ff4195c33f96 (patch)
treeb2698067f5fb05034533a9949866978efaed5a12 /drivers/md
parent2995fa78e423d7193f3b57835f6c1c75006a0315 (diff)
downloadlinux-74aa45c33c5afefa0107c15f2465ff4195c33f96.tar.xz
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"},
};
/*