dm thin: fix pool feature parsing
authorMike Snitzer <snitzer@redhat.com>
Thu, 16 Jan 2014 00:07:58 +0000 (19:07 -0500)
committerMike Snitzer <snitzer@redhat.com>
Thu, 16 Jan 2014 02:16:24 +0000 (21:16 -0500)
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>
drivers/md/dm-thin.c

index d2328bb051923c3cb4e03c167f7b5a6feccf882d..726228b33a012f9994fc2f8843b25a0ca46ef966 100644 (file)
@@ -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"},
        };
 
        /*