summaryrefslogtreecommitdiffstats
path: root/drivers/md/persistent-data
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2012-12-21 21:23:36 +0100
committerAlasdair G Kergon <agk@redhat.com>2012-12-21 21:23:36 +0100
commit7960123f2d335ded2ac4c510bcd2a236b293b1b1 (patch)
tree9a5a925cba57f3ae44d7c7a0a7dafea3d6e33dbf /drivers/md/persistent-data
parentdm thin: use DMERR_LIMIT for errors (diff)
downloadlinux-7960123f2d335ded2ac4c510bcd2a236b293b1b1.tar.xz
linux-7960123f2d335ded2ac4c510bcd2a236b293b1b1.zip
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>
Diffstat (limited to 'drivers/md/persistent-data')
-rw-r--r--drivers/md/persistent-data/dm-space-map-metadata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/persistent-data/dm-space-map-metadata.c b/drivers/md/persistent-data/dm-space-map-metadata.c
index e89ae5e7a519..906cf3df71af 100644
--- a/drivers/md/persistent-data/dm-space-map-metadata.c
+++ b/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;
}