aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2013-05-10 09:37:17 -0400
committerAlasdair G Kergon <agk@redhat.com>2013-05-10 09:37:17 -0400
commit88a488f6243c98b38ac5191d4255e09d3b1c6455 (patch)
treee7c68439fa0f475dcbfe15c9fc579a33e552cbe7 /drivers/md
parentf8350daf7af05e3b8cf98e9550de3f623af03fe7 (diff)
dm persistent data: fix error message typos
Fix some typos in dm-space-map-metadata.c error messages. 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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/persistent-data/dm-space-map-metadata.c b/drivers/md/persistent-data/dm-space-map-metadata.c
index 906cf3df71af..d87a30a243db 100644
--- a/drivers/md/persistent-data/dm-space-map-metadata.c
+++ b/drivers/md/persistent-data/dm-space-map-metadata.c
@@ -410,7 +410,7 @@ static void sm_bootstrap_destroy(struct dm_space_map *sm)
410 410
411static int sm_bootstrap_extend(struct dm_space_map *sm, dm_block_t extra_blocks) 411static int sm_bootstrap_extend(struct dm_space_map *sm, dm_block_t extra_blocks)
412{ 412{
413 DMERR("boostrap doesn't support extend"); 413 DMERR("bootstrap doesn't support extend");
414 414
415 return -EINVAL; 415 return -EINVAL;
416} 416}
@@ -450,7 +450,7 @@ static int sm_bootstrap_count_is_more_than_one(struct dm_space_map *sm,
450static int sm_bootstrap_set_count(struct dm_space_map *sm, dm_block_t b, 450static int sm_bootstrap_set_count(struct dm_space_map *sm, dm_block_t b,
451 uint32_t count) 451 uint32_t count)
452{ 452{
453 DMERR("boostrap doesn't support set_count"); 453 DMERR("bootstrap doesn't support set_count");
454 454
455 return -EINVAL; 455 return -EINVAL;
456} 456}
@@ -491,7 +491,7 @@ static int sm_bootstrap_commit(struct dm_space_map *sm)
491 491
492static int sm_bootstrap_root_size(struct dm_space_map *sm, size_t *result) 492static int sm_bootstrap_root_size(struct dm_space_map *sm, size_t *result)
493{ 493{
494 DMERR("boostrap doesn't support root_size"); 494 DMERR("bootstrap doesn't support root_size");
495 495
496 return -EINVAL; 496 return -EINVAL;
497} 497}
@@ -499,7 +499,7 @@ static int sm_bootstrap_root_size(struct dm_space_map *sm, size_t *result)
499static int sm_bootstrap_copy_root(struct dm_space_map *sm, void *where, 499static int sm_bootstrap_copy_root(struct dm_space_map *sm, void *where,
500 size_t max) 500 size_t max)
501{ 501{
502 DMERR("boostrap doesn't support copy_root"); 502 DMERR("bootstrap doesn't support copy_root");
503 503
504 return -EINVAL; 504 return -EINVAL;
505} 505}