projects
/
platform
/
kernel
/
linux-rpi.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 e89ae5e7a51959dc5a8e9ce68c70295ba840abb6..906cf3df71af33365e460cbca0a82b0077fc6abf 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;
}