Переглянути джерело

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>
Mike Snitzer 12 роки тому
батько
коміт
74aa45c33c
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      drivers/md/dm-thin.c

+ 1 - 1
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"},
 	};
 
 	/*