diff options
author | Joe Thornber <ejt@redhat.com> | 2012-12-21 20:23:36 (GMT) |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-12-21 20:23:36 (GMT) |
commit | 7960123f2d335ded2ac4c510bcd2a236b293b1b1 (patch) | |
tree | 9a5a925cba57f3ae44d7c7a0a7dafea3d6e33dbf /drivers/md/persistent-data | |
parent | c397741c7645de7f2ead1f076f1a40e169875fe3 (diff) | |
download | linux-7960123f2d335ded2ac4c510bcd2a236b293b1b1.tar.xz |
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.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 e89ae5e..906cf3d 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; } |