Skip to content

Commit 7960123

Browse files
jthornberkergon
authored andcommitted
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>
1 parent c397741 commit 7960123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ static int sm_metadata_new_block(struct dm_space_map *sm, dm_block_t *b)
337337
{
338338
int r = sm_metadata_new_block_(sm, b);
339339
if (r)
340-
DMERR("out of metadata space");
340+
DMERR("unable to allocate new metadata block");
341341
return r;
342342
}
343343

0 commit comments

Comments
 (0)