dm thin metadata: use struct dm_pool_metadata members in __open_or_format_metadata
authorJoe Thornber <ejt@redhat.com>
Fri, 27 Jul 2012 14:08:12 +0000 (15:08 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:08:12 +0000 (15:08 +0100)
commitd6332814e343c76097ff10ed8225069e6392022f
treedcd4c0a1db3f91e90cb985833dc3ab424e24a0ab
parent583ceee2ed1d171718aee348163f2ed25d461772
dm thin metadata: use struct dm_pool_metadata members in __open_or_format_metadata

Clean up __open_or_format_metadata in dm-thin-metadata by using struct
dm_pool_metadata members to replace local variables.

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>
drivers/md/dm-thin-metadata.c