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>
This commit is contained in:
committed by
Alasdair G Kergon
parent
c397741c76
commit
7960123f2d
@@ -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);
|
int r = sm_metadata_new_block_(sm, b);
|
||||||
if (r)
|
if (r)
|
||||||
DMERR("out of metadata space");
|
DMERR("unable to allocate new metadata block");
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user