浏览代码

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 11 年之前
父节点
当前提交
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"},
 	};
 
 	/*