diff options
author | Joe Thornber <ejt@redhat.com> | 2012-07-27 10:08:14 -0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 10:08:14 -0400 |
commit | 66b1edc05e3f4c1227f51e40f2ead3e973c00cb0 (patch) | |
tree | e9c549057d91f1bb57755b1ac0a38512fcea3664 /drivers/md/dm-thin-metadata.h | |
parent | 0fa5b17b08baa37919ddd21529081e3090d47de5 (diff) |
dm thin metadata: add format option to dm_pool_metadata_open
Add a parameter to dm_pool_metadata_open to indicate whether or not an
unformatted metadata area should be formatted.
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.h')
-rw-r--r-- | drivers/md/dm-thin-metadata.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-thin-metadata.h b/drivers/md/dm-thin-metadata.h index 7b47c0a9a8e3..7e6656c49bd5 100644 --- a/drivers/md/dm-thin-metadata.h +++ b/drivers/md/dm-thin-metadata.h | |||
@@ -38,7 +38,8 @@ typedef uint64_t dm_thin_id; | |||
38 | * Reopens or creates a new, empty metadata volume. | 38 | * Reopens or creates a new, empty metadata volume. |
39 | */ | 39 | */ |
40 | struct dm_pool_metadata *dm_pool_metadata_open(struct block_device *bdev, | 40 | struct dm_pool_metadata *dm_pool_metadata_open(struct block_device *bdev, |
41 | sector_t data_block_size); | 41 | sector_t data_block_size, |
42 | bool format_device); | ||
42 | 43 | ||
43 | int dm_pool_metadata_close(struct dm_pool_metadata *pmd); | 44 | int dm_pool_metadata_close(struct dm_pool_metadata *pmd); |
44 | 45 | ||