浏览代码

dm persistent data: improve improve space map block alloc failure message

Improve space map error message when unable to allocate a new
metadata block.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Joe Thornber 12 年之前
父节点
当前提交
7960123f2d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/md/persistent-data/dm-space-map-metadata.c

+ 1 - 1
drivers/md/persistent-data/dm-space-map-metadata.c

@@ -337,7 +337,7 @@ static int sm_metadata_new_block(struct dm_space_map *sm, dm_block_t *b)
 {
 	int r = sm_metadata_new_block_(sm, b);
 	if (r)
-		DMERR("out of metadata space");
+		DMERR("unable to allocate new metadata block");
 	return r;
 }