diff options
author | Mike Snitzer <snitzer@redhat.com> | 2014-01-15 19:07:58 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-01-15 21:16:24 -0500 |
commit | 74aa45c33c5afefa0107c15f2465ff4195c33f96 (patch) | |
tree | b2698067f5fb05034533a9949866978efaed5a12 | |
parent | 2995fa78e423d7193f3b57835f6c1c75006a0315 (diff) |
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>
-rw-r--r-- | drivers/md/dm-thin.c | 2 |
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, | |||
1941 | const char *arg_name; | 1941 | const char *arg_name; |
1942 | 1942 | ||
1943 | static struct dm_arg _args[] = { | 1943 | static struct dm_arg _args[] = { |
1944 | {0, 3, "Invalid number of pool feature arguments"}, | 1944 | {0, 4, "Invalid number of pool feature arguments"}, |
1945 | }; | 1945 | }; |
1946 | 1946 | ||
1947 | /* | 1947 | /* |