summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2012-12-21 20:23:36 +0000
committerAlasdair G Kergon <agk@redhat.com>2012-12-21 20:23:36 +0000
commit7960123f2d335ded2ac4c510bcd2a236b293b1b1 (patch)
tree9a5a925cba57f3ae44d7c7a0a7dafea3d6e33dbf /drivers/md
parentc397741c7645de7f2ead1f076f1a40e169875fe3 (diff)
downloadlinux-7960123f2d335ded2ac4c510bcd2a236b293b1b1.tar.bz2
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')
-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;
}