diff options
author | Joe Thornber <ejt@redhat.com> | 2012-12-21 21:23:36 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-12-21 21:23:36 +0100 |
commit | 7960123f2d335ded2ac4c510bcd2a236b293b1b1 (patch) | |
tree | 9a5a925cba57f3ae44d7c7a0a7dafea3d6e33dbf /drivers/md/persistent-data/dm-space-map-metadata.c | |
parent | dm thin: use DMERR_LIMIT for errors (diff) | |
download | linux-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/dm-space-map-metadata.c')
-rw-r--r-- | drivers/md/persistent-data/dm-space-map-metadata.c | 2 |
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; } |