Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7960123f authored by Joe Thornber's avatar Joe Thornber Committed by Alasdair G Kergon
Browse files

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: default avatarJoe Thornber <ejt@redhat.com>
Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
parent c397741c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}