projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c397741
)
dm persistent data: improve improve space map block alloc failure message
author
Joe Thornber
<ejt@redhat.com>
Fri, 21 Dec 2012 20:23:36 +0000
(20:23 +0000)
committer
Alasdair G Kergon
<agk@redhat.com>
Fri, 21 Dec 2012 20:23:36 +0000
(20:23 +0000)
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>
drivers/md/persistent-data/dm-space-map-metadata.c
patch
|
blob
|
history
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
(file)
--- 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;
}