diff options
author | Joe Thornber <ejt@redhat.com> | 2012-07-27 10:08:10 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 10:08:10 -0400 |
commit | 77f49a402769f7db022935ef317f1c12c1c06319 (patch) | |
tree | 6e30f001a9b855e15b83c61276c56378b3a9211c /drivers/md/dm-thin-metadata.c | |
parent | 2597119206405b9dbaee491e7c2389b7570b3227 (diff) |
dm thin metadata: rename init_pmd to __create_persistent_data_objects
Rename init_pmd to __create_persistent_data_objects in dm-thin-metadata.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-thin-metadata.c')
-rw-r--r-- | drivers/md/dm-thin-metadata.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/dm-thin-metadata.c b/drivers/md/dm-thin-metadata.c index dd3a89b1bf6f..0ef10f70565e 100644 --- a/drivers/md/dm-thin-metadata.c +++ b/drivers/md/dm-thin-metadata.c | |||
@@ -422,9 +422,9 @@ static void __setup_btree_details(struct dm_pool_metadata *pmd) | |||
422 | pmd->details_info.value_type.equal = NULL; | 422 | pmd->details_info.value_type.equal = NULL; |
423 | } | 423 | } |
424 | 424 | ||
425 | static int init_pmd(struct dm_pool_metadata *pmd, | 425 | static int __create_persistent_data_objects(struct dm_pool_metadata *pmd, |
426 | struct dm_block_manager *bm, | 426 | struct dm_block_manager *bm, |
427 | dm_block_t nr_blocks, int create) | 427 | dm_block_t nr_blocks, int create) |
428 | { | 428 | { |
429 | int r; | 429 | int r; |
430 | struct dm_space_map *sm, *data_sm; | 430 | struct dm_space_map *sm, *data_sm; |
@@ -693,7 +693,7 @@ struct dm_pool_metadata *dm_pool_metadata_open(struct block_device *bdev, | |||
693 | return ERR_PTR(r); | 693 | return ERR_PTR(r); |
694 | } | 694 | } |
695 | 695 | ||
696 | r = init_pmd(pmd, bm, 0, create); | 696 | r = __create_persistent_data_objects(pmd, bm, 0, create); |
697 | if (r) { | 697 | if (r) { |
698 | dm_block_manager_destroy(bm); | 698 | dm_block_manager_destroy(bm); |
699 | kfree(pmd); | 699 | kfree(pmd); |