Skip to content

Commit

Permalink
dm persistent data: fix error message typos
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Thornber authored and Alasdair G Kergon committed May 10, 2013
1 parent f8350da commit 88a488f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/md/persistent-data/dm-space-map-metadata.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ static void sm_bootstrap_destroy(struct dm_space_map *sm)

static int sm_bootstrap_extend(struct dm_space_map *sm, dm_block_t extra_blocks)
{
DMERR("boostrap doesn't support extend");
DMERR("bootstrap doesn't support extend");

return -EINVAL;
}
Expand Down Expand Up @@ -450,7 +450,7 @@ static int sm_bootstrap_count_is_more_than_one(struct dm_space_map *sm,
static int sm_bootstrap_set_count(struct dm_space_map *sm, dm_block_t b,
uint32_t count)
{
DMERR("boostrap doesn't support set_count");
DMERR("bootstrap doesn't support set_count");

return -EINVAL;
}
Expand Down Expand Up @@ -491,15 +491,15 @@ static int sm_bootstrap_commit(struct dm_space_map *sm)

static int sm_bootstrap_root_size(struct dm_space_map *sm, size_t *result)
{
DMERR("boostrap doesn't support root_size");
DMERR("bootstrap doesn't support root_size");

return -EINVAL;
}

static int sm_bootstrap_copy_root(struct dm_space_map *sm, void *where,
size_t max)
{
DMERR("boostrap doesn't support copy_root");
DMERR("bootstrap doesn't support copy_root");

return -EINVAL;
}
Expand Down

0 comments on commit 88a488f

Please sign in to comment.